Port config management commands from confluence-cli PR #106.
Files to create:
tools/cfl/internal/cmd/configcmd/config.go - Parent command
tools/cfl/internal/cmd/configcmd/show.go - Display config with masked tokens
tools/cfl/internal/cmd/configcmd/test.go - Test connectivity
tools/cfl/internal/cmd/configcmd/clear.go - Remove config file
- Tests for each
Commands:
cfl config show:
- Masked tokens (first 4 + last 4 chars)
- Source indicators (env var name, config file, or "not set")
cfl config test:
- Test connectivity with clear error messages
cfl config clear:
- Remove config file with note about active env vars
Source: open-cli-collective/confluence-cli#106
Port config management commands from confluence-cli PR #106.
Files to create:
tools/cfl/internal/cmd/configcmd/config.go- Parent commandtools/cfl/internal/cmd/configcmd/show.go- Display config with masked tokenstools/cfl/internal/cmd/configcmd/test.go- Test connectivitytools/cfl/internal/cmd/configcmd/clear.go- Remove config fileCommands:
cfl config show:cfl config test:cfl config clear:Source: open-cli-collective/confluence-cli#106