## Stripe CLI Global Flags

The Stripe CLI supports a number of flags that can be used with any command. These global flags modify the behavior of the CLI for the current command or for a session.

### Available Global Flags

*   `--api-key <key>`: Use the Stripe account associated with this Stripe API secret key.
*   `--color <mode>`: Enable or disable color output.
    *   `on`: Enable color output.
    *   `off`: Disable color output.
    *   `auto`: Use the default output color based on global settings.
*   `--config <path>`: Use this file path for the CLI's configuration file (default: `$HOME/.config/stripe/config.toml`).
*   `--device-name <name>`: Run this command on behalf of another device.
*   `-h, --help`: Provides the help documentation for a given command, including the supported flags and arguments.
*   `--log-level <level>`: Set the level of detail for log messages (default: `info`).
    *   `debug`: Useful for development purposes.
    *   `info`: Shows standard logs that come up.
    *   `warn`: Shows warnings that are detected.
    *   `error`: Shows every log including errors that arise.
*   `-p, --project-name <name>`: Define a project name for the CLI's current configuration. Using the `--project-name` flag enables multiple configurations across Stripe accounts (stored within one configuration file), and any command can run in the context of a project (default: `"default"`).
*   `-v, --version`: Prints the version of the Stripe CLI. This flag is meant to run without any other flags or arguments set.

### Examples

**Displaying help for a command:**

```bash
stripe login --help
```

**Setting a project-specific configuration:**

```bash
stripe customers list --project-name=my-app
```

**Disabling color output:**

```bash
stripe balance --color=off
```