Deprecate tunnel command in favor of device tunnel

Change-type: patch
This commit is contained in:
myarmolinsky 2024-09-26 12:38:51 -04:00
parent 72dd9bcda6
commit bc5cbfe6fe
2 changed files with 2 additions and 1 deletions

View File

@ -2126,7 +2126,7 @@ the uuid of the device to make track the fleet's release
### Aliases ### Aliases
- `tunnel` - `tunnel` *(deprecated)*
To use one of the aliases, replace `device tunnel` with the alias. To use one of the aliases, replace `device tunnel` with the alias.

View File

@ -29,6 +29,7 @@ import type { Server, Socket } from 'net';
export default class DeviceTunnelCmd extends Command { export default class DeviceTunnelCmd extends Command {
public static aliases = ['tunnel']; public static aliases = ['tunnel'];
public static deprecateAliases = true;
public static description = stripIndent` public static description = stripIndent`
Tunnel local ports to your balenaOS device. Tunnel local ports to your balenaOS device.