Files
backstage/packages/cli-module-auth
Patrik Oldsberg 08dbd83cd3 chore: remove redundant cli.ts files from CLI modules
The bin scripts already had the full runCliModule logic for the production
path. Inline the same pattern for local dev and drop the intermediate
src/cli.ts files that just duplicated it.

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
Made-with: Cursor
2026-03-16 13:12:00 +01:00
..

@backstage/cli-module-auth

CLI module that provides authentication commands for the Backstage CLI, enabling login, logout, and credential management for Backstage instances.

Commands

Command Description
auth login Log in the CLI to a Backstage instance
auth logout Log out the CLI and clear stored credentials
auth show Show details of an authenticated instance
auth list List authenticated instances
auth print-token Print an access token to stdout (auto-refresh if needed)
auth select Select the default instance

Documentation