Skip to content

ezgh flags restore

Restore an old version of a flag's targeting.

Updated View as Markdown
ezgh flags restore <key> --env <environment> --version N [--comment text] [flags]

Write an old version of a flag’s targeting in one environment as a new version (history is never rewritten). It’s refused when that version serves a variation or uses a segment that’s gone, and when someone else changes the config at the same moment.

Part of ezgh flags.

Examples

ezgh flags restore new-checkout --env production --version 11 --comment "Back to 10%"

Flags

Flag Type Default Description
--comment string why, kept with the new version
--env string the environment’s key (required)
--version int64 the version to restore (required)

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close