Skip to content

ezgh flags export

Write an environment's flags as a flagd snapshot.

Updated View as Markdown
ezgh flags export --env <environment> [flags]

Write an environment’s current compiled flags to stdout, as flagd’s flag-definition JSON: the file EZGH’s server providers take as a bootstrap (bootstrapPath) or run on alone (offline: true), and that flagd itself serves. It’s what server SDK keys read, rules included.

Part of ezgh flags.

Examples

ezgh flags export --env production > flags.json

Flags

Flag Type Default Description
--env string the environment’s key (required)

This command also takes the global flags.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close