---
title: "ezgh flags config"
description: "A flag's targeting in an environment, as JSON."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh flags config

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh flags config <command>
```

A flag's targeting in an environment (its config): on or off, its off variation, individual targets, rules and default rule. Every change is a new version (`ezgh flags history`).

Part of [`ezgh flags`](/cli/reference/flags).

## Flags

This command also takes the [global flags](/cli/reference#global-flags).

## Subcommands

| Command | Description |
| --- | --- |
| [`ezgh flags config get`](/cli/reference/flags-config-get) | Show a flag's targeting in an environment, as JSON |
| [`ezgh flags config set`](/cli/reference/flags-config-set) | Replace a flag's targeting in an environment from JSON |

Source: https://docs.ezghcloud.com/cli/reference/flags-config/index.mdx
