Skip to main content

Module cli_args

Module cli_args 

Source
Expand description

Command-line argument definitions.

Secrets (the keyphrase and the key-file password) are deliberately NOT accepted as argv flags: argv is visible to other users via ps and lands in shell history. They come from the HASHIVERSE_KEYPHRASE / HASHIVERSE_PASSWORD environment variables only; the CLI never prompts. See crate::unlock.

Structs§

CliArgs

Enums§

Command

Constants§

DEFAULT_TRENDING_LIMIT
ENV_DATA_DIR
ENV_KEYPHRASE
ENV_PASSWORD
ENV_PROFILE