| 1 |
Complex CLI Documentation |
| 2 |
========================= |
| 3 |
|
| 4 |
Welcome to the Complex CLI documentation. This application demonstrates |
| 5 |
comprehensive coverage of cyclopts features for documentation testing. |
| 6 |
|
| 7 |
Features |
| 8 |
-------- |
| 9 |
|
| 10 |
This demo includes: |
| 11 |
|
| 12 |
* **Dataclass parameter flattening** - Using ``@Parameter(name="*")`` |
| 13 |
* **Pydantic model support** - If pydantic is installed |
| 14 |
* **attrs class support** - If attrs is installed |
| 15 |
* **4-level nested commands** - ``admin → users → permissions → roles`` |
| 16 |
* **Complex union types** - ``int | Literal["auto"]`` patterns |
| 17 |
* **Custom groups** - Organized command structure |
| 18 |
* **Validators** - Number and Path validators |
| 19 |
* **Hidden commands** - Commands excluded from help |
| 20 |
* **Multiple docstring formats** - NumPy, Google, Sphinx styles |
| 21 |
|
| 22 |
.. toctree:: |
| 23 |
:maxdepth: 2 |
| 24 |
:caption: Contents: |
| 25 |
|
| 26 |
cli/index |
| 27 |
cli/admin |
| 28 |
cli/data |
| 29 |
cli/server |
| 30 |
cli/utilities |
| 31 |
cli/full |
| 32 |
|
| 33 |
Indices and tables |
| 34 |
================== |
| 35 |
|
| 36 |
* :ref:`genindex` |
| 37 |
* :ref:`search` |