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
2017-09-04 07:58:40 -04:00

48 lines
1.0 KiB
Markdown

# Command-line interface
**srndv2** comes with a selection of command-line arguments for managing your node.
## Rebuild all thumbnails
To rebuild all thumbnails run:
./srndv2 tool rethumb
## Generate a new tripcode keypair (prints to stdout)
./srndv2 tool keygen
## Add a public key to moderation trust
Where `publickey` is the public key to be added.
./srndv2 tool mod add publickey
## Remove a public key from moderation trust
Where `publickey` is the public key to be removed.
./srndv2 tool mod del publickey
## 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
## Remove an existing NNTP user
Where `username` is the username of the user to be deleted.
./srndv2 tool nntp del-login username
## Moderator shell
commandline interface for moderator actions
./srndv2 tool mod do
you can also pipe local mod commands via stdin
echo "delete <somemessage@server.tld>" | ./srndv2 tool mod do