mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 21:57:51 +00:00
Deprecate env add
in favor of env set
Change-type: patch
This commit is contained in:
parent
84985022e5
commit
61ebf9e4fd
@ -2406,7 +2406,7 @@ do not prompt for confirmation before deleting the variable
|
||||
|
||||
### Aliases
|
||||
|
||||
- `env add`
|
||||
- `env add` *(deprecated)*
|
||||
|
||||
|
||||
To use one of the aliases, replace `env set` with the alias.
|
||||
|
1
src/commands/env/set.ts
vendored
1
src/commands/env/set.ts
vendored
@ -37,6 +37,7 @@ interface ArgsDef {
|
||||
|
||||
export default class EnvSetCmd extends Command {
|
||||
public static aliases = ['env add'];
|
||||
public static deprecateAliases = true;
|
||||
|
||||
public static description = stripIndent`
|
||||
Add or update env or config variable to fleets, devices or services.
|
||||
|
Loading…
Reference in New Issue
Block a user