save checkpoint
This commit is contained in:
49
docs/features/checked/cli/cli-config-command-hub.md
Normal file
49
docs/features/checked/cli/cli-config-command-hub.md
Normal file
@@ -0,0 +1,49 @@
|
||||
# CLI Config Command Hub (list/show/set/export/import)
|
||||
|
||||
## Module
|
||||
Cli
|
||||
|
||||
## Status
|
||||
VERIFIED
|
||||
|
||||
## Description
|
||||
Extended `stella config` command with list/show/set/export/import subcommands, consolidating notify/feeds/integrations/registry/sources/signals under the config umbrella.
|
||||
|
||||
## Implementation Details
|
||||
- **Command Group**: `src/Cli/StellaOps.Cli/Commands/ConfigCommandGroup.cs` -- `ConfigCommandGroup` (internal static class)
|
||||
- **Config Catalog**: `src/Cli/StellaOps.Cli/Commands/ConfigCatalog.cs` -- catalog of all configuration items
|
||||
- **Command Handlers**: `src/Cli/StellaOps.Cli/Commands/CommandHandlers.Config.cs` -- `CommandHandlers` partial with config handlers
|
||||
- **Sprint**: SPRINT_20260118_011_CLI_settings_consolidation
|
||||
- **Commands**:
|
||||
- `stella config list` -- list all configuration categories
|
||||
- `stella config show <key>` -- show a specific configuration value
|
||||
- `stella config set <key> <value>` -- set a configuration value
|
||||
- `stella config export --output <path>` -- export configuration to file
|
||||
- `stella config import --file <path>` -- import configuration from file
|
||||
- `stella config notify *` -- notification configuration (channels, templates)
|
||||
- `stella config feeds *` -- advisory feed configuration
|
||||
- `stella config integrations *` -- integration configuration
|
||||
- `stella config registry *` -- container registry configuration
|
||||
- `stella config sources *` -- advisory source configuration
|
||||
- `stella config signals *` -- signal configuration
|
||||
- **Tests**: `src/Cli/__Tests/StellaOps.Cli.Tests/Integration/SettingsConsolidationTests.cs`
|
||||
|
||||
## E2E Test Plan
|
||||
- [ ] Run `stella config list` and verify all configuration categories shown (notify, feeds, integrations, registry, sources, signals)
|
||||
- [ ] Run `stella config show <key>` and verify specific config value displayed
|
||||
- [ ] Run `stella config set <key> <value>` and verify value persisted
|
||||
- [ ] Run `stella config export --output ./config.yaml` and verify configuration exported
|
||||
- [ ] Run `stella config import --file ./config.yaml` and verify configuration imported
|
||||
- [ ] Run `stella config notify channels list` and verify notification channels listed
|
||||
- [ ] Run `stella config feeds list` and verify feed configuration listed
|
||||
- [ ] Run `stella config integrations list` and verify integrations listed
|
||||
- [ ] Verify old paths (e.g., `stella notify`) still work with deprecation warnings
|
||||
|
||||
## 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/cli-config-command-hub/run-001/tier2-integration-check.json`
|
||||
Reference in New Issue
Block a user