mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 22:45:05 +00:00
Updated documentation.
This commit is contained in:
parent
8faa06652d
commit
fe9fc2d4b6
2 changed files with 10 additions and 0 deletions
|
@ -204,6 +204,12 @@ Enqueues a Create + Note message to all followers. If the
|
||||||
argument is -e, the external editor defined by the EDITOR
|
argument is -e, the external editor defined by the EDITOR
|
||||||
environment variable will be invoked to prepare a message; if
|
environment variable will be invoked to prepare a message; if
|
||||||
it's - (a lonely hyphen), the post content will be read from stdin.
|
it's - (a lonely hyphen), the post content will be read from stdin.
|
||||||
|
.It Cm block Ar basedir Ar instance_url
|
||||||
|
Blocks a full instance, given its URL or domain name. All subsequent
|
||||||
|
incoming activities with identifiers from that instance will be immediately
|
||||||
|
blocked without further inspection.
|
||||||
|
.It Cm unblock Ar basedir Ar instance_url
|
||||||
|
Unblocks a previously blocked instance.
|
||||||
.El
|
.El
|
||||||
.Ss Migrating an account from Mastodon
|
.Ss Migrating an account from Mastodon
|
||||||
See
|
See
|
||||||
|
|
|
@ -281,6 +281,10 @@ format) from the Mastodon web interface and execute this:
|
||||||
awk -F, 'NR > 1 { print $1 }' /path/to/following_accounts.csv | \\
|
awk -F, 'NR > 1 { print $1 }' /path/to/following_accounts.csv | \\
|
||||||
xargs -n 1 snac follow $SNAC_BASEDIR $SNAC_USER
|
xargs -n 1 snac follow $SNAC_BASEDIR $SNAC_USER
|
||||||
.Ed
|
.Ed
|
||||||
|
.Ss Instance blocking
|
||||||
|
Full instances can be blocked. This operation must be done from
|
||||||
|
the command-line tool. See
|
||||||
|
.Xr snac 1 .
|
||||||
.Ss Other Considerations
|
.Ss Other Considerations
|
||||||
.Nm
|
.Nm
|
||||||
stores all the messages it receives as JSON files, which are usually
|
stores all the messages it receives as JSON files, which are usually
|
||||||
|
|
Loading…
Reference in a new issue