<!-- @generated by usage-cli from usage spec -->

# `usage`

**Usage**: `usage [--completions <COMPLETIONS>] [--usage-spec] <SUBCOMMAND>`

**Version**: 6.1.1

**Repository**: https://github.com/jdx/usage

- **Usage**: `usage [--completions <COMPLETIONS>] [--usage-spec] <SUBCOMMAND>`

## Flags

### `--completions <COMPLETIONS>`

Outputs completions for the specified shell for completing the `usage` CLI itself

### `--usage-spec`

Outputs a `usage.kdl` spec for this CLI itself

## Subcommands

- [`usage bash [-h] [--help] <SCRIPT> [ARGS]…`](/cli/reference/bash.md)
- [`usage complete-word [FLAGS] [WORDS]…`](/cli/reference/complete-word.md)
- [`usage diff [FLAGS] <OLD> <NEW>`](/cli/reference/diff.md)
- [`usage exec [-h] [--help] <ARGS>…`](/cli/reference/exec.md)
- [`usage explain [FLAGS] [ARGV]…`](/cli/reference/explain.md)
- [`usage fish [-h] [--help] <SCRIPT> [ARGS]…`](/cli/reference/fish.md)
- [`usage generate <SUBCOMMAND>`](/cli/reference/generate.md)
- [`usage generate completion [FLAGS] <SHELL> <BIN>`](/cli/reference/generate/completion.md)
- [`usage generate completion-init [--usage-bin <USAGE_BIN>] <SHELL>`](/cli/reference/generate/completion-init.md)
- [`usage generate fig [FLAGS]`](/cli/reference/generate/fig.md)
- [`usage generate go [FLAGS]`](/cli/reference/generate/go.md)
- [`usage generate json [FLAGS]`](/cli/reference/generate/json.md)
- [`usage generate json-schema [FLAGS]`](/cli/reference/generate/json-schema.md)
- [`usage generate manpage <FLAGS>`](/cli/reference/generate/manpage.md)
- [`usage generate markdown <FLAGS>`](/cli/reference/generate/markdown.md)
- [`usage generate sdk <FLAGS>`](/cli/reference/generate/sdk.md)
- [`usage lint [FLAGS] <FILE>`](/cli/reference/lint.md)
- [`usage mcp [-f --file <FILE>] [-s --spec <SPEC>]`](/cli/reference/mcp.md)
- [`usage powershell [-h] [--help] <SCRIPT> [ARGS]…`](/cli/reference/powershell.md)
- [`usage sponsors`](/cli/reference/sponsors.md)
- [`usage zsh [-h] [--help] <SCRIPT> [ARGS]…`](/cli/reference/zsh.md)
