Files
git.stella-ops.org/docs/features/checked/cli/setup-wizard-cli.md
2026-02-14 09:11:48 +02:00

41 lines
1.9 KiB
Markdown

# Setup Wizard CLI
## Module
Cli
## Status
VERIFIED
## 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
## Verification
- **Verified**: 2026-02-13T15:30:00Z
- **Tier 0 (Source)**: pass -- all referenced source files exist on disk
- **Tier 1 (Build)**: pass -- module builds cleanly, 412 tests pass in StellaOps.Cli.Commands.Tests
- **Tier 2d (Integration)**: pass -- targeted integration tests confirm behavioral correctness
- **Test Project**: `src/Cli/__Tests/StellaOps.Cli.Commands.Tests/StellaOps.Cli.Commands.Tests.csproj`
- **Evidence**: `docs/qa/feature-checks/runs/cli/setup-wizard-cli/run-001/tier2-integration-check.json`