You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(cli): make openboot install the canonical entry point (#52)
* refactor(cli): make openboot install the canonical entry point
Root command no longer doubles as install — bare `openboot` now shows
help instead of running the install wizard. All install flags move to
`openboot install`, which is now the single, explicit entry point.
- Remove RunE and all install flags from root command
- Add missing --post-install flag to installCmd (was root-only before)
- Update install.sh to exec `openboot install` instead of bare `openboot`
(snapshot mode still execs `openboot snapshot` via passthrough)
- Simplify PersistentPreRunE: map lookup → single cmd.Name() == "install" check
Breaking: `openboot -p developer` style shortcuts no longer work;
use `openboot install -p developer` instead.
* fix: update all callers to use openboot install subcommand
Fixes CI failures from the root-command refactor. The mock server's
inline install script and all e2e test exec.Command calls were still
using the old root-level flag syntax.
- scripts/mock-server.py: generated install script now calls
`openboot install -s -u` instead of bare `openboot -s -u`
- test/e2e/smoke_test.go: dry-run exec call updated
- test/e2e/real_install_test.go: all exec calls updated (L6 tier)
- test/e2e/macos_defaults_e2e_test.go: doc comment updated
- test/e2e/dotfiles_e2e_test.go: doc comments updated
- README.md, .github/pull_request_template.md: examples updated
- internal/cli/install.go: remove stale comment about root alias
0 commit comments