mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-18 21:27:51 +00:00
Deprecate key
commands in favor of ssh-key
Change-type: patch
This commit is contained in:
parent
3251f04287
commit
3dee7bd6f6
@ -3730,7 +3730,7 @@ Examples:
|
||||
|
||||
### Aliases
|
||||
|
||||
- `key add`
|
||||
- `key add` *(deprecated)*
|
||||
|
||||
|
||||
To use one of the aliases, replace `ssh-key add` with the alias.
|
||||
@ -3778,7 +3778,7 @@ the path to the public key file
|
||||
|
||||
### Aliases
|
||||
|
||||
- `key`
|
||||
- `key` *(deprecated)*
|
||||
|
||||
|
||||
To use one of the aliases, replace `ssh-key` with the alias.
|
||||
@ -3823,7 +3823,7 @@ Examples:
|
||||
|
||||
### Aliases
|
||||
|
||||
- `key rm`
|
||||
- `key rm` *(deprecated)*
|
||||
|
||||
|
||||
To use one of the aliases, replace `ssh-key rm` with the alias.
|
||||
|
@ -22,6 +22,7 @@ import { getBalenaSdk, stripIndent } from '../../utils/lazy';
|
||||
|
||||
export default class SSHKeyAddCmd extends Command {
|
||||
public static aliases = ['key add'];
|
||||
public static deprecateAliases = true;
|
||||
|
||||
public static description = stripIndent`
|
||||
Add an SSH key to balenaCloud.
|
||||
|
@ -22,6 +22,7 @@ import { parseAsInteger } from '../../utils/validation';
|
||||
|
||||
export default class SSHKeyCmd extends Command {
|
||||
public static aliases = ['key'];
|
||||
public static deprecateAliases = true;
|
||||
|
||||
public static description = stripIndent`
|
||||
Display an SSH key.
|
||||
|
@ -22,6 +22,7 @@ import { parseAsInteger } from '../../utils/validation';
|
||||
|
||||
export default class SSHKeyRmCmd extends Command {
|
||||
public static aliases = ['key rm'];
|
||||
public static deprecateAliases = true;
|
||||
|
||||
public static description = stripIndent`
|
||||
Remove an SSH key from balenaCloud.
|
||||
|
Loading…
Reference in New Issue
Block a user