Deprecate api-keys command in favor of api-key list

Change-type: patch
This commit is contained in:
myarmolinsky 2024-09-24 12:47:00 -04:00
parent 13110cca45
commit b6f8be27ec
2 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,7 @@ the API key name
### Aliases
- `api-keys`
- `api-keys` *(deprecated)*
To use one of the aliases, replace `api-key list` with the alias.

View File

@ -21,6 +21,7 @@ import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
export default class APIKeyListCmd extends Command {
public static aliases = ['api-keys'];
public static deprecateAliases = true;
public static description = stripIndent`
Print a list of balenaCloud API keys.