Skip to content

chore: add an auth status command for to show whoami output#670

Merged
mcncl merged 2 commits intomainfrom
SUP-6289/auth_status
Mar 2, 2026
Merged

chore: add an auth status command for to show whoami output#670
mcncl merged 2 commits intomainfrom
SUP-6289/auth_status

Conversation

@mcncl
Copy link
Contributor

@mcncl mcncl commented Mar 2, 2026

Description

We're aiming to centralise auth related commands so that users (and LLMs) can more intuitively interact with the CLI.

The current whoami command at CLI root doesn't follow the typical conventions and patterns we want to utilise; bk <thing> <action>

Changes

  • adds an auth status command to the CLI
  • "hides" the whoami command from --help/help output

Testing

  • Tests have run locally (with go test ./...)
  • Code is formatted (with go fmt ./...)

We're aiming to centralise `auth` related commands so that users (and LLMs) can more intuitively interact with the CLI.

The current `whoami` command at CLI root doesn't follow the typical conventions and patterns we want to utilise; `bk <thing> <action>`
@mcncl mcncl requested a review from a team as a code owner March 2, 2026 00:25
@mcncl mcncl merged commit 330e987 into main Mar 2, 2026
1 check passed
@mcncl mcncl deleted the SUP-6289/auth_status branch March 2, 2026 01:51
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.

2 participants