fix(installer): show help text on error and document --profile full in README

Running install.ps1/install.sh with no arguments gave a cryptic error
with no guidance. Now the usage help is printed after the error so users
know what arguments to pass.

Also added --profile full as the recommended install option in the README
quick-start section, which was previously undocumented.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Prabith Balagopalan
2026-03-26 17:49:04 +05:30
committed by Affaan Mustafa
parent 70a96bd363
commit d49c95a5ec
2 changed files with 12 additions and 2 deletions

View File

@@ -139,8 +139,8 @@ function main() {
printHumanPlan(result, false);
}
} catch (error) {
console.error(`Error: ${error.message}`);
process.exit(1);
console.error(`Error: ${error.message}\n`);
showHelp(1);
}
}