Expand description
The bamboo init / doctor / config set onboarding CLI: configure a
provider + API key and self-diagnose without the web UI (server-less).
bamboo init / bamboo doctor / bamboo config set — first-run onboarding.
These are local, server-less commands: they read and write config.json
under the data dir directly (via bamboo_config::Config), so a fresh
install can configure a provider + API key and self-diagnose without the
web UI or hand-editing JSON. Writes go through Config::save_to_dir, which
encrypts provider keys at rest and writes atomically (with a rotating .bak).
Structs§
Functions§
- run_
config_ set bamboo config set <key> <value>— write a single config value.- run_
doctor bamboo doctor— diagnose the local install. ReturnsOk(true)when healthy,Ok(false)when a blocking problem was found (caller should exit non-zero).- run_
init bamboo init— scaffold/populateconfig.jsonwith a provider + API key.