Files
git.stella-ops.org/docs/features/unchecked/cli/setup-wizard-cli.md

32 lines
1.4 KiB
Markdown

# Setup Wizard CLI
## Module
Cli
## Status
IMPLEMENTED
## Description
Interactive setup wizard with checkpoint-based state management: run full or specific steps, resume from interruption, check status, reset state, and validate configuration. Supports YAML config files and non-interactive mode.
## Implementation Details
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/Setup/` -- setup wizard commands
- **Prompts**: `src/Cli/StellaOps.Cli/Prompts/` -- interactive prompt infrastructure
- **Commands**:
- `stella setup` -- run full setup wizard interactively
- `stella setup run --step <name>` -- run a specific setup step
- `stella setup status` -- check setup completion status
- `stella setup resume` -- resume from last checkpoint
- `stella setup reset` -- reset setup state
- `stella setup validate` -- validate current configuration
- **Non-interactive**: `--config <yaml>` for automated setup
## E2E Test Plan
- [ ] Run `stella setup` and verify interactive wizard prompts
- [ ] Run `stella setup run --step database` and verify specific step execution
- [ ] Run `stella setup status` and verify step completion status
- [ ] Interrupt setup and run `stella setup resume` and verify resumption from checkpoint
- [ ] Run `stella setup reset` and verify state cleared
- [ ] Run `stella setup validate` and verify configuration validation
- [ ] Run with `--config ./setup.yaml` for non-interactive mode