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 23ce6261b3
commit 5061e904e6
2 changed files with 2 additions and 1 deletions

View File

@ -339,7 +339,7 @@ the API key name
### Aliases ### Aliases
- `api-keys` - `api-keys` *(deprecated)*
To use one of the aliases, replace `api-key list` with the alias. 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 { export default class APIKeyListCmd extends Command {
public static aliases = ['api-keys']; public static aliases = ['api-keys'];
public static deprecateAliases = true;
public static description = stripIndent` public static description = stripIndent`
Print a list of balenaCloud API keys. Print a list of balenaCloud API keys.