2.3 KiB
2.3 KiB
CLI Config Command Hub (list/show/set/export/import)
Module
Cli
Status
IMPLEMENTED
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--CommandHandlerspartial with config handlers - Sprint: SPRINT_20260118_011_CLI_settings_consolidation
- Commands:
stella config list-- list all configuration categoriesstella config show <key>-- show a specific configuration valuestella config set <key> <value>-- set a configuration valuestella config export --output <path>-- export configuration to filestella config import --file <path>-- import configuration from filestella config notify *-- notification configuration (channels, templates)stella config feeds *-- advisory feed configurationstella config integrations *-- integration configurationstella config registry *-- container registry configurationstella config sources *-- advisory source configurationstella config signals *-- signal configuration
- Tests:
src/Cli/__Tests/StellaOps.Cli.Tests/Integration/SettingsConsolidationTests.cs
E2E Test Plan
- Run
stella config listand 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.yamland verify configuration exported - Run
stella config import --file ./config.yamland verify configuration imported - Run
stella config notify channels listand verify notification channels listed - Run
stella config feeds listand verify feed configuration listed - Run
stella config integrations listand verify integrations listed - Verify old paths (e.g.,
stella notify) still work with deprecation warnings