mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-05-02 00:53:06 +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
|
### Aliases
|
||||||
|
|
||||||
- `key add`
|
- `key add` *(deprecated)*
|
||||||
|
|
||||||
|
|
||||||
To use one of the aliases, replace `ssh-key add` with the alias.
|
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
|
### Aliases
|
||||||
|
|
||||||
- `key`
|
- `key` *(deprecated)*
|
||||||
|
|
||||||
|
|
||||||
To use one of the aliases, replace `ssh-key` with the alias.
|
To use one of the aliases, replace `ssh-key` with the alias.
|
||||||
@ -3823,7 +3823,7 @@ Examples:
|
|||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
|
|
||||||
- `key rm`
|
- `key rm` *(deprecated)*
|
||||||
|
|
||||||
|
|
||||||
To use one of the aliases, replace `ssh-key rm` with the alias.
|
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 {
|
export default class SSHKeyAddCmd extends Command {
|
||||||
public static aliases = ['key add'];
|
public static aliases = ['key add'];
|
||||||
|
public static deprecateAliases = true;
|
||||||
|
|
||||||
public static description = stripIndent`
|
public static description = stripIndent`
|
||||||
Add an SSH key to balenaCloud.
|
Add an SSH key to balenaCloud.
|
||||||
|
@ -22,6 +22,7 @@ import { parseAsInteger } from '../../utils/validation';
|
|||||||
|
|
||||||
export default class SSHKeyCmd extends Command {
|
export default class SSHKeyCmd extends Command {
|
||||||
public static aliases = ['key'];
|
public static aliases = ['key'];
|
||||||
|
public static deprecateAliases = true;
|
||||||
|
|
||||||
public static description = stripIndent`
|
public static description = stripIndent`
|
||||||
Display an SSH key.
|
Display an SSH key.
|
||||||
|
@ -22,6 +22,7 @@ import { parseAsInteger } from '../../utils/validation';
|
|||||||
|
|
||||||
export default class SSHKeyRmCmd extends Command {
|
export default class SSHKeyRmCmd extends Command {
|
||||||
public static aliases = ['key rm'];
|
public static aliases = ['key rm'];
|
||||||
|
public static deprecateAliases = true;
|
||||||
|
|
||||||
public static description = stripIndent`
|
public static description = stripIndent`
|
||||||
Remove an SSH key from balenaCloud.
|
Remove an SSH key from balenaCloud.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user