Skip to content

ezgh flags segments update

Change a segment.

Updated View as Markdown
ezgh flags segments update <key> [--name n] [--description d] [--include id…] [--exclude id…] [--rules-file rules.json] [flags]

Change a segment. --include, --exclude and --rules-file replace those lists whole (--include “” empties it). Every environment’s flags that use it change with it. The change is conditional on the segment being as it was read.

Part of ezgh flags segments.

Flags

Flag Type Default Description
--description string the new description
--exclude string, repeatable the excluded targetingKeys, replacing them (repeat)
--include string, repeatable the included targetingKeys, replacing them (repeat)
--name string the new display name
--rules-file string the rules, replacing them: a JSON list

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close