Rename setup CLI command to onboard for compatibility

Serde alias on `onboard_completed` preserves existing settings.json files
that still have the old `setup_completed` key.

Co-Authored-By: Claude Opus 4.6 <[email protected]>
This commit is contained in:
Illia Polosukhin
2026-02-06 09:56:32 -08:00
co-authored by Claude Opus 4.6
parent 48ab73574e
commit 8be390afab
8 changed files with 31 additions and 28 deletions
+3 -1
View File
@@ -717,7 +717,9 @@ async fn auth_tool(name: String, dir: Option<PathBuf>, user_id: String) -> anyho
// Initialize secrets store
let config = Config::from_env()?;
let master_key = config.secrets.master_key().ok_or_else(|| {
anyhow::anyhow!("SECRETS_MASTER_KEY not set. Run 'ironclaw setup' first or set it in .env")
anyhow::anyhow!(
"SECRETS_MASTER_KEY not set. Run 'ironclaw onboard' first or set it in .env"
)
})?;
let store = Store::new(&config.database).await?;