refactor(cli): add commands/, prompt.rs, parse.rs scaffold (no-op)
This commit is contained in:
7
crates/relicario-cli/src/prompt.rs
Normal file
7
crates/relicario-cli/src/prompt.rs
Normal file
@@ -0,0 +1,7 @@
|
||||
//! Interactive prompt helpers for the CLI.
|
||||
//!
|
||||
//! The `prompt`/`prompt_optional`/`prompt_secret` family reads from stdin /
|
||||
//! the TTY; the `prompt_keep`/`prompt_keep_opt`/`prompt_yesno` variants are
|
||||
//! used by the edit handlers to keep current values when the user hits enter
|
||||
//! at a blank prompt. `prompt_secret` honours `RELICARIO_TEST_ITEM_SECRET`
|
||||
//! so integration tests (which don't have a TTY) can inject secrets.
|
||||
Reference in New Issue
Block a user