A CLI for administering the CompostInTraining.club Mastodon instance.
cit <command> <subcommand> [parameters]cit domain-blocks <command> [<Arg>...]domain-blocks commands:
show- list all domain blocksquery <domain>- query the blocklist for a given domainadd <domain> [<severity> <comment>]- add a domain to the blocklist, optionally specifying the severity and providing a comment.<severity>should be one ofsuspend,silence, ornoopper the Mastodon docs
remove <domain>- remove a domain from the blocklist
cit email-domain-blocks <command> [<Arg>...]email-domain-blocks commands:
show- list all email domain blocksquery <domain>- query the blocklist for a given domainadd <domain>- add an email domain to the blocklistremove <domain>- remove an email domain from the blocklist
cit ip-blocks <command> [<Arg>...]ip-blocks commands:
show- list all ip rulesquery <address>- query the ruleset for a given addressadd <address> <severity>- add an ip address to the ruleset<severity>should be one ofsign_up_requires_approval,sign_up_block, orno_accessper the Mastodon docs
remove <address>- remove an ip address from the ruleset