Skip to content

Conversation

@piekstra
Copy link
Collaborator

Summary

Adds three new config subcommands to complement the existing init command:

  • cfl config show - Display current configuration with masked tokens and credential source indicators (env var name, config file, or not set)
  • cfl config test - Test connectivity to Confluence with the current credentials, with clear error messages for auth failures
  • cfl config clear - Remove the config file, with a note about active environment variables

Example output:

$ cfl config show
URL:        https://mycompany.atlassian.net/wiki  (source: config)
Email:      user@example.com  (source: ATLASSIAN_EMAIL)
API Token:  test********alue  (source: CFL_API_TOKEN)
Space:      DEV  (source: config)

Config file: ~/.config/cfl/config.yml

Fixes #94

- `cfl config show`: display current config with credential source indicators
- `cfl config test`: verify connectivity with configured credentials
- `cfl config clear`: remove stored configuration file

Fixes #94
@piekstra piekstra requested a review from rianjs January 28, 2026 01:50
@piekstra piekstra merged commit 96a58b0 into main Jan 30, 2026
3 checks passed
@piekstra piekstra deleted the feat/94-config-commands branch January 30, 2026 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add config show, config test, and config clear commands

2 participants