> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt. # Global options > Global options for the Fern CLI These options work with any Fern CLI command to control logging and get help. | Option | Description | Example | | --------------------------- | ----------------------------- | --------------------------------- | | [`--help`](#help) | Show command help and options | `fern --help` | | [`--log-level`](#log-level) | Set logging verbosity | `fern generate --log-level debug` | Use `--log-level debug` to see detailed output when troubleshooting issues. ## help Use the `--help` option with any Fern CLI command to see an explanation and available options. **`fern add --help`** ```bash maxLines=10 title="fern add --help" fern add --help fern add Add a code generator to generators.yml Positionals: generator [string] [required] Options: --help Show help [boolean] --log-level [choices: "debug", "info", "warn", "error"] [default: "info"] --api Only run the command on the provided API [string] --group Add the generator to the specified group [string] ``` ## log-level Use the `--log-level` option to set the verbosity of Fern's logging output. The default level is `info`. Available levels (from most to least verbose): * `debug`: Debug messages, informational messages, warnings, and errors * `info`: Informational messages, warnings, and errors * `warn`: Warnings and errors only * `error`: Error messages only ```bash fern generate --log-level debug ``` > Explore Fern CLI global options.