Deprecate scan command in favor of device detect

Change-type: patch
This commit is contained in:
myarmolinsky 2024-09-26 08:02:01 -04:00
parent c7a06f7259
commit 5db0c71bb3
2 changed files with 2 additions and 1 deletions

View File

@ -1296,7 +1296,7 @@ answer "yes" to all questions (non interactive use)
### Aliases
- `scan`
- `scan` *(deprecated)*
To use one of the aliases, replace `device detect` with the alias.

View File

@ -21,6 +21,7 @@ import { getCliUx, stripIndent } from '../../utils/lazy';
export default class DeviceDetectCmd extends Command {
public static aliases = ['scan'];
public static deprecateAliases = true;
public static description = stripIndent`
Scan for balenaOS devices on your local network.