Skip to content

profiles show and list ignore --profile #199

Open

Description

@manyoneek

profiles show --profile chosen and profiles list --profile chosen use the saved active profile instead of chosen.

Reproduce

  • Run python3 reproduce-all.py from the reproduction source; it creates two credential-free profiles, with qa-base active.
  • Run rc profiles show --profile qa-chosen --json and rc profiles list --profile qa-chosen --json.
  • Both select qa-base instead of qa-chosen.

Reproduced October 22: 0381e9169458, Go 1.26.10, macOS arm64.

Fix, tests and before/after demo.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions