Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/doc/cli.md

38 lines
843 B
Markdown
Raw Normal View History

2016-06-04 22:24:12 +05:00
#Command-line interface
**srndv2** comes with a selection of command-line arguments for managing your node.
##Rebuild all thumbnails
To rebuild all thumbnails run:
2016-02-02 07:27:14 +05:00
2016-06-05 15:12:05 +05:00
./srndv2 tool rethumb
2016-02-02 07:27:14 +05:00
2016-06-04 22:24:12 +05:00
##Generate a new tripcode keypair (prints to stdout)
2016-06-05 15:12:05 +05:00
./srndv2 tool keygen
2016-06-04 22:24:12 +05:00
##Add a public key to moderation trust
Where `publickey` is the public key to be added.
2016-06-05 15:12:05 +05:00
./srndv2 tool mod add publickey
2016-02-02 07:27:14 +05:00
2016-06-04 22:24:12 +05:00
##Remove a public key from moderation trust
Where `publickey` is the public key to be removed.
2016-06-05 15:12:05 +05:00
./srndv2 tool mod del publickey
2016-06-04 22:37:04 +05:00
##Add a new NNTP user
Where `username` is the username and `password` is the user's password for the new uer.
2016-06-05 15:12:05 +05:00
./srndv2 tool nntp add-login username password
2016-06-04 22:37:04 +05:00
##Remove an existing NNTP user
Where `username` is the username of the user to be deleted.
2016-06-05 15:12:05 +05:00
./srndv2 tool nntp del-login username