Deprecate keys command in favor of key list

Change-type: patch
This commit is contained in:
myarmolinsky 2024-09-24 13:56:06 -04:00
parent 7856813322
commit 99787626d7
2 changed files with 3 additions and 2 deletions

View File

@ -3803,8 +3803,8 @@ balenaCloud ID for the SSH key
### Aliases
- `keys`
- `key list`
- `keys` *(deprecated)*
- `key list` *(deprecated)*
To use one of the aliases, replace `ssh-key list` with the alias.

View File

@ -21,6 +21,7 @@ import { getBalenaSdk, getVisuals, stripIndent } from '../../utils/lazy';
export default class SSHKeyListCmd extends Command {
public static aliases = ['keys', 'key list'];
public static deprecateAliases = true;
public static description = stripIndent`
List the SSH keys in balenaCloud.