Update cli.md
This commit is contained in:
parent
28b8c5059c
commit
77e1f16624
39
doc/cli.md
39
doc/cli.md
@ -1,20 +1,37 @@
|
|||||||
# command line interface
|
#Command-line interface
|
||||||
|
|
||||||
|
**srndv2** comes with a selection of command-line arguments for managing your node.
|
||||||
|
|
||||||
|
##Rebuild all thumbnails
|
||||||
|
|
||||||
|
To rebuild all thumbnails run:
|
||||||
|
|
||||||
# rebuild all thumbnails
|
|
||||||
srndv2 tool rethumb
|
srndv2 tool rethumb
|
||||||
|
|
||||||
# generate a new tripcode keypair
|
##Generate a new tripcode keypair (prints to stdout)
|
||||||
# print out to stdout
|
|
||||||
srndv2 tool keygen
|
srndv2 tool keygen
|
||||||
|
|
||||||
# add an nntp login
|
##Add a new NNTP user
|
||||||
|
|
||||||
|
Where `username` is the username and `password` is the user's password for the new uer.
|
||||||
|
|
||||||
srndv2 tool nntp add-login username password
|
srndv2 tool nntp add-login username password
|
||||||
|
|
||||||
# remove an nntp login
|
##Remove an existing NNTP user
|
||||||
|
|
||||||
|
Where `username` is the username of the user to be deleted.
|
||||||
|
|
||||||
srndv2 tool nntp del-login username
|
srndv2 tool nntp del-login username
|
||||||
|
|
||||||
# add public key to moderation trust
|
##Add a public key to moderation trust
|
||||||
srndv2 tool mod add publickeygoeshere
|
|
||||||
|
Where `publickey` is the public key to be added.
|
||||||
|
|
||||||
|
srndv2 tool mod add publickey
|
||||||
|
|
||||||
# remove public key from moderation trust
|
##Remove a public key from moderation trust
|
||||||
srndv2 tool mod del publickeygoeshere
|
|
||||||
|
Where `publickey` is the public key to be removed.
|
||||||
|
|
||||||
|
srndv2 tool mod del publickey
|
||||||
|
Reference in New Issue
Block a user