# Commands in Statsig CLI

> For AI agents: a documentation index is available at [/llms.txt](/llms.txt). Append `.md` to any page URL for markdown, or send `Accept: text/markdown`.

## Getting help

When you run `siggy` with no arguments, the CLI prints usage, supported commands, and options.

```bash
$ siggy

# Response
Usage: siggy [options] [command]

Statsig CLI
For information on schema, see /console-api/introduction

Options:
  -V, --version     output the version number
  -h, --help        display help for command

Commands:
  config [options]  view/edit configuration settings
  gates             create/list/edit gates
  dyncon            create/list/edit dynamic configs
  segments          create/list/edit segments
  experiments       create/list/edit experiments
  help [command]    display help for command
```

When you call a command with the `--help` option, the CLI prints the help content for that command.

```bash
$ siggy gates --help

# Response
Usage: siggy gates [options] [command]

create/list/edit gates

Options:
  -h, --help                               display help for command

Commands:
  create <gate-name>                       create a new feature gate
  get <gate-id>                            retrieve gate details
  list [options]                           list all gates
  update <gate-id> <gate-properties-json>  update a gate
  delete [options] <gate-id>               delete a gate
  check [options] <gate-id>                check if the current state of the gate for a user
  help [command]                           display help for command
```

## Other commands

You can list, create, update, and delete entities like Gates, Experiments, Dynamic Configs, Segments, and more. Help content lives in code, so running the CLI with the `--help` option gives the most current information.

For commands that require a JSON body, refer to the schema in the [Console API](https://docs.statsig.com/console-api/introduction).
