Deprecate env add in favor of env set

Change-type: patch
This commit is contained in:
myarmolinsky 2024-09-26 12:32:10 -04:00
parent 84985022e5
commit 61ebf9e4fd
2 changed files with 2 additions and 1 deletions

View File

@ -2406,7 +2406,7 @@ do not prompt for confirmation before deleting the variable
### Aliases ### Aliases
- `env add` - `env add` *(deprecated)*
To use one of the aliases, replace `env set` with the alias. To use one of the aliases, replace `env set` with the alias.

View File

@ -37,6 +37,7 @@ interface ArgsDef {
export default class EnvSetCmd extends Command { export default class EnvSetCmd extends Command {
public static aliases = ['env add']; public static aliases = ['env add'];
public static deprecateAliases = true;
public static description = stripIndent` public static description = stripIndent`
Add or update env or config variable to fleets, devices or services. Add or update env or config variable to fleets, devices or services.