mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-20 22:23:07 +00:00
Deprecate scan
command in favor of device detect
Change-type: patch
This commit is contained in:
parent
fca255dd93
commit
3fa668665c
@ -1296,7 +1296,7 @@ answer "yes" to all questions (non interactive use)
|
|||||||
|
|
||||||
### Aliases
|
### Aliases
|
||||||
|
|
||||||
- `scan`
|
- `scan` *(deprecated)*
|
||||||
|
|
||||||
|
|
||||||
To use one of the aliases, replace `device detect` with the alias.
|
To use one of the aliases, replace `device detect` with the alias.
|
||||||
|
@ -21,6 +21,7 @@ import { getCliUx, stripIndent } from '../../utils/lazy';
|
|||||||
|
|
||||||
export default class DeviceDetectCmd extends Command {
|
export default class DeviceDetectCmd extends Command {
|
||||||
public static aliases = ['scan'];
|
public static aliases = ['scan'];
|
||||||
|
public static deprecateAliases = true;
|
||||||
|
|
||||||
public static description = stripIndent`
|
public static description = stripIndent`
|
||||||
Scan for balenaOS devices on your local network.
|
Scan for balenaOS devices on your local network.
|
||||||
|
Loading…
Reference in New Issue
Block a user