Update help
This commit is contained in:
parent
46b0fe6b50
commit
7d986a7072
@ -25,13 +25,14 @@ supports [Array of Tables](https://toml.io/en/v1.0.0#array-of-tables), I'd prefe
|
|||||||
##
|
##
|
||||||
|
|
||||||
```
|
```
|
||||||
$ mastodon_blocklist_deploy -h
|
usage: mastodon_blocklist_deploy [-h] [-s SERVER] [-t TOKEN] [-i INPUT_FILE] [-r REMOTE_BLOCKLIST] [-o OUTPUT] [-v] [-n] [--format FORMAT] [--private]
|
||||||
usage: mastodon_blocklist_deploy [-h] [-s SERVER] [-t TOKEN] [-i INPUT_FILE] [-r REMOTE_BLOCKLIST] [-o OUTPUT] [-v] [-n] {diff,deploy,export}
|
{diff,deploy,export}
|
||||||
|
|
||||||
Deploy blocklist updates to a mastodon server
|
Deploy blocklist updates to a mastodon server
|
||||||
|
|
||||||
positional arguments:
|
positional arguments:
|
||||||
{diff,deploy,export} Either use 'diff' to check the difference between local blockĺist and the blocklist on the server, 'deploy' to apply the current local blocklist or 'export' to export the remote blocklist into a local file.
|
{diff,deploy,export} Either use 'diff' to check the difference between local blockĺist and the blocklist on the server, 'deploy' to apply the current local
|
||||||
|
blocklist or 'export' to export the remote blocklist into a local file.
|
||||||
|
|
||||||
options:
|
options:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
@ -47,6 +48,8 @@ options:
|
|||||||
Filename where to export the blocklist
|
Filename where to export the blocklist
|
||||||
-v, --verbose
|
-v, --verbose
|
||||||
-n, --no-delete Do not delete existing blocks
|
-n, --no-delete Do not delete existing blocks
|
||||||
|
--format FORMAT Export format: toml|markdown
|
||||||
|
--private When the flag is set private comment will also be exported.
|
||||||
```
|
```
|
||||||
|
|
||||||
## Obtain a server token
|
## Obtain a server token
|
||||||
|
Loading…
Reference in New Issue
Block a user