| 1 | """Cyclopts CLI implementation.""" |
| 2 | |
| 3 | import cyclopts |
| 4 | |
| 5 | # Create the main CLI app |
| 6 | app = cyclopts.App(name="cyclopts") |
| 7 | app.register_install_completion_command( |
| 8 | help="""\ |
| 9 | Register shell-completion for the cyclopts CLI itself. |
| 10 | """ |
| 11 | ) |
| 12 | |
| 13 | |
| 14 | # Explicitly import command modules |
| 15 | from cyclopts.cli import ( |
| 16 | _complete, # noqa: F401 |
| 17 | docs, # noqa: F401 |
| 18 | run, # noqa: F401 |
| 19 | ) |
| 20 | |
| 21 | __all__ = ["app"] |