abc12cd8e1
Fix argument parsing bugs in the execute command where actionId at index 0 was incorrectly skipped when --instance was absent, and flag values matching the actionId string were erroneously removed. Add --help support to the execute command for CLI report generation. Add missing bin script and cli-report.md for cli-module-actions. Add resolveAuth tests. Bump backend-defaults changeset to minor for the security-relevant auth change. Replace cross-fetch with native fetch in cli-module-auth to avoid punycode deprecation warnings during CLI report generation. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
@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 |