ezgh flags envs create <key> [--name n] [--color c] [--require-comment] [flags]Create an environment, such as production or staging. Its key can’t change; --name defaults to it. Every flag gets an off config in it. --require-comment makes every targeting change there carry a comment. It has no SDK keys until you create them (ezgh flags keys create).
Part of ezgh flags envs.
Examples
ezgh flags envs create production --name Production --color red --require-commentFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--color |
string | a color for the console: blue, green, amber, orange, red, pink or purple | |
--name |
string | a display name (default: the key) | |
--require-comment |
boolean | every targeting change needs a comment |
This command also takes the global flags.