Skip to main content

CONFIG_WIZARD_LONG

Constant CONFIG_WIZARD_LONG 

Source
pub const CONFIG_WIZARD_LONG: &str = "\
Open every global setting in a full-screen configurator, with the `devp trust` \
declaration in front of it: what this tool is allowed to do is on screen before any \
of it is configurable.

Enter is the \"keep going\" key: on a row with an untaken recommendation it takes \
that advice and moves on, on any other row it just moves on, and on the Finish line \
it opens a summary of exactly what will be written — one more Enter writes it. So \
holding nothing but Enter reviews every setting, accepts the safe recommendations, \
and finishes. The walk never takes the cautious tier (`allow_manifest_rewrite`); \
turning that on stays a deliberate Space on its row. Arrows move without accepting \
anything; Space changes the highlighted setting — a toggle flips, a number opens a \
field, `disabled_adapters` opens the adapter checklist; `r` puts one back. `q` \
leaves without saving anything, from anywhere.

`devp config recommended` is the one-command version of the suggestions screen, for \
when you know what you want and do not want to walk the list.

It runs itself once on a first install — so the defaults are something you agreed \
to, not something you inherited — and again after an upgrade adds a setting this \
machine has never been shown, which it marks NEW and opens on. Settings you have \
already confirmed are never re-asked.

It never runs unattended: no TTY means skipped, not guessed at. `--no-tui`, and the \
DEV_PRUNE_NO_TUI environment variable, ask one question per line instead — for \
terminals the full-screen view cannot drive, and for agents, which hold a real \
terminal and will never press a key. To configure this tool from a script, use \
`devp config set <key> <value>`, which needs no terminal at all.";