Skip to content

feat(cfl): port config show/test/clear commands #40

@rianjs

Description

@rianjs

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions