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

44 lines
933 B
Markdown
Raw Normal View History

2017-04-04 18:01:43 +05:00
# Command-line interface
2016-06-04 22:24:12 +05:00
**srndv2** comes with a selection of command-line arguments for managing your node.
2017-04-04 18:01:43 +05:00
## Rebuild all thumbnails
2016-06-04 22:24:12 +05:00
To rebuild all thumbnails run:
2016-02-02 07:27:14 +05:00
2016-06-05 15:12:05 +05:00
./srndv2 tool rethumb
2017-04-04 18:01:43 +05:00
## Generate a new tripcode keypair (prints to stdout)
2016-06-04 22:24:12 +05:00
2016-06-05 15:12:05 +05:00
./srndv2 tool keygen
2016-06-04 22:24:12 +05:00
2017-04-04 18:01:43 +05:00
## Add a public key to moderation trust
2016-06-04 22:24:12 +05:00
Where `publickey` is the public key to be added.
2016-06-05 15:12:05 +05:00
./srndv2 tool mod add publickey
2017-04-04 18:01:43 +05:00
## Remove a public key from moderation trust
2016-06-04 22:24:12 +05:00
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
2017-04-04 18:01:43 +05:00
## Add a new NNTP user
2016-06-04 22:37:04 +05:00
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
2017-04-04 18:01:43 +05:00
## Remove an existing NNTP user
2016-06-04 22:37:04 +05:00
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
2017-04-04 18:01:43 +05:00
## Moderator shell
commandline interface for moderator actions
./srndv2 tool mod do