| 1 |
## complex-cli |
| 2 |
|
| 3 |
```console |
| 4 |
complex-cli COMMAND [OPTIONS] |
| 5 |
``` |
| 6 |
|
| 7 |
Complex CLI application for comprehensive documentation testing. |
| 8 |
|
| 9 |
**Global Options**: |
| 10 |
|
| 11 |
* `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]* |
| 12 |
* `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]* |
| 13 |
* `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]* |
| 14 |
* `--no-color, --no-no-color`: Disable colored output *[default: False]* |
| 15 |
|
| 16 |
**Utilities**: |
| 17 |
|
| 18 |
* [`cache`](#complex-cli-cache): Cache management commands. |
| 19 |
* [`complex-types`](#complex-cli-complex-types): Demonstrate complex type annotations. |
| 20 |
* [`info`](#complex-cli-info): Show application information. |
| 21 |
* [`version`](#complex-cli-version): Show version information. |
| 22 |
|
| 23 |
### complex-cli version |
| 24 |
|
| 25 |
```console |
| 26 |
complex-cli version |
| 27 |
``` |
| 28 |
|
| 29 |
Show version information. |
| 30 |
|
| 31 |
Displays the application version and system information. |
| 32 |
|
| 33 |
**Global Options**: |
| 34 |
|
| 35 |
* `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]* |
| 36 |
* `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]* |
| 37 |
* `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]* |
| 38 |
* `--no-color, --no-no-color`: Disable colored output *[default: False]* |
| 39 |
|
| 40 |
### complex-cli info |
| 41 |
|
| 42 |
```console |
| 43 |
complex-cli info [ARGS] |
| 44 |
``` |
| 45 |
|
| 46 |
Show application information. |
| 47 |
|
| 48 |
**Parameters**: |
| 49 |
|
| 50 |
* `DETAILED, --detailed, --no-detailed`: Show detailed information including dependencies. *[default: False]* |
| 51 |
* `FORMAT, --format`: Output format for the information. *[choices: json, yaml, table, csv]* *[default: table]* |
| 52 |
|
| 53 |
**Global Options**: |
| 54 |
|
| 55 |
* `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]* |
| 56 |
* `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]* |
| 57 |
* `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]* |
| 58 |
* `--no-color, --no-no-color`: Disable colored output *[default: False]* |
| 59 |
|
| 60 |
### complex-cli cache |
| 61 |
|
| 62 |
Cache management commands. |
| 63 |
|
| 64 |
**Global Options**: |
| 65 |
|
| 66 |
* `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]* |
| 67 |
* `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]* |
| 68 |
* `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]* |
| 69 |
* `--no-color, --no-no-color`: Disable colored output *[default: False]* |
| 70 |
|
| 71 |
#### complex-cli cache configure |
| 72 |
|
| 73 |
```console |
| 74 |
complex-cli cache configure [OPTIONS] |
| 75 |
``` |
| 76 |
|
| 77 |
Configure cache settings. |
| 78 |
|
| 79 |
Demonstrates attrs class support for CLI parameters. |
| 80 |
|
| 81 |
**Parameters**: |
| 82 |
|
| 83 |
* `--config.backend`: Cache backend type. *[choices: memory, redis, memcached, disk]* *[default: memory]* |
| 84 |
* `--config.ttl`: Time-to-live in seconds. *[default: 300]* |
| 85 |
* `--config.max-size`: Maximum cache size in MB. *[default: 1024]* |
| 86 |
* `--config.compression, --config.no-compression`: Enable compression. *[default: False]* |
| 87 |
|
| 88 |
#### complex-cli cache clear |
| 89 |
|
| 90 |
```console |
| 91 |
complex-cli cache clear [ARGS] |
| 92 |
``` |
| 93 |
|
| 94 |
Clear cache entries. |
| 95 |
|
| 96 |
**Parameters**: |
| 97 |
|
| 98 |
* `PATTERN, --pattern`: Pattern to match cache keys. *[default: *]* |
| 99 |
* `DRY-RUN, --dry-run, --no-dry-run`: Show what would be cleared without actually clearing. *[default: False]* |
| 100 |
|
| 101 |
#### complex-cli cache stats |
| 102 |
|
| 103 |
```console |
| 104 |
complex-cli cache stats [ARGS] |
| 105 |
``` |
| 106 |
|
| 107 |
Show cache statistics. |
| 108 |
|
| 109 |
**Parameters**: |
| 110 |
|
| 111 |
* `DETAILED, --detailed, --no-detailed`: Show detailed statistics. *[default: False]* |
| 112 |
* `FORMAT, --format`: Output format. *[choices: json, yaml, table, csv]* *[default: table]* |
| 113 |
|
| 114 |
### complex-cli complex-types |
| 115 |
|
| 116 |
```console |
| 117 |
complex-cli complex-types [ARGS] |
| 118 |
``` |
| 119 |
|
| 120 |
Demonstrate complex type annotations. |
| 121 |
|
| 122 |
This command showcases various complex type patterns that the |
| 123 |
documentation system needs to handle correctly. |
| 124 |
|
| 125 |
**Parameters**: |
| 126 |
|
| 127 |
* `WORKER-COUNT, --worker-count`: Number of workers or "auto" for automatic detection. *[choices: auto]* *[default: auto]* |
| 128 |
* `QUALITY, --quality`: Quality preset or "custom" for manual configuration. *[choices: low, medium, high, custom]* *[default: medium]* |
| 129 |
* `TAGS, --tags, --empty-tags`: Optional list of tags. |
| 130 |
* `FORMATS, --formats, --empty-formats`: List of output formats. *[choices: json, yaml, table, csv]* *[default: [json]]* |
| 131 |
* `THRESHOLDS, --thresholds, --empty-thresholds`: Threshold values or "default" for defaults. *[choices: default]* *[default: default]* |
| 132 |
* `CONFIG-PATH, --config-path`: Optional config file path (must exist if provided). |
| 133 |
|
| 134 |
**Global Options**: |
| 135 |
|
| 136 |
* `--verbose, -v`: Verbosity level (-v, -vv, -vvv). *[default: 0]* |
| 137 |
* `--quiet, --no-quiet, -q`: Suppress non-essential output. *[default: False]* |
| 138 |
* `--log-level`: Logging level. *[choices: debug, info, warning, error, critical]* *[default: info]* |
| 139 |
* `--no-color, --no-no-color`: Disable colored output *[default: False]* |