Skip to content

ezgh flags

Feature Flags: flags, targeting, segments, environments and SDK keys.

Updated View as Markdown
ezgh flags <command>

EZGH Feature Flags gates features in your backends and web frontends: boolean and multivariate flags, per-environment targeting (individual targets, rules on context attributes, reusable segments, percentage rollouts), with a version history per flag and environment. Your code evaluates flags through OpenFeature, with EZGH’s providers or any OFREP provider, against https://flags.ezghcloud.com and an environment’s SDK key.

Everything is in a project (--project, EZGH_PROJECT or the profile’s). Flags, environments and segments are named by their keys (new-checkout, production, beta-testers), or by ID.

Flags

This command also takes the global flags.

Subcommands

Command Description
ezgh flags archive Archive a flag: SDKs get their default value
ezgh flags config A flag’s targeting in an environment, as JSON
ezgh flags create Create a flag, off in every environment
ezgh flags delete Delete an archived flag
ezgh flags envs Environments: where flags are targeted, each with its own SDK keys
ezgh flags export Write an environment’s flags as a flagd snapshot
ezgh flags get Show a flag, its variations and where it’s on
ezgh flags history List a flag’s targeting versions in an environment
ezgh flags keys SDK keys: what providers evaluate an environment’s flags with
ezgh flags list List the project’s flags and where they’re on
ezgh flags restore Restore an old version of a flag’s targeting
ezgh flags rollout Roll a two-variation flag out to a percentage
ezgh flags segments Segments: reusable audiences for flag rules
ezgh flags toggle Turn a flag’s targeting on or off in an environment
ezgh flags unarchive Serve an archived flag again
ezgh flags update Change a flag’s name, description, tags, variations or client-side
Navigation

Type to search…

↑↓ navigate↵ selectEsc close