Module notedealer::args
source · [−]Expand description
Command line argument and environment variable types and parsing.
Structs
Run the ActivityPub server partly implementing both C2S and S2S protocols,
and a testing frontend. Can be configured via environment variables (real or
ones from and .env file) and command line arguments. Command line arguments
are prioritized.
Functions
Returns the value of the environment variable, or exits the process with
exit code 2 (usage) and prints a help message. Used as a fallback to
required command line arguments.