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
+2 -2
View File
@@ -731,7 +731,7 @@ impl SetupWizard {
/// Save settings and print summary.
fn save_and_summarize(&mut self) -> Result<(), SetupError> {
self.settings.setup_completed = true;
self.settings.onboard_completed = true;
self.settings.save().map_err(|e| {
SetupError::Io(std::io::Error::new(
@@ -815,7 +815,7 @@ impl SetupWizard {
println!();
println!("To change settings later:");
println!(" ironclaw config set <setting> <value>");
println!(" ironclaw setup");
println!(" ironclaw onboard");
println!();
Ok(())