43 lines
855 B
Python
43 lines
855 B
Python
"""
|
|
# Summary
|
|
|
|
Command line interface entry point for doc-forge.
|
|
|
|
This module exposes the primary CLI entry function used by the
|
|
`doc-forge` command. The actual command implementation resides in
|
|
`docforge.cli.main`, while this module provides a stable import path
|
|
for external tools and the package entry point configuration.
|
|
|
|
The CLI is responsible for orchestrating documentation workflows such as
|
|
generating renderer sources, building documentation sites, exporting
|
|
machine-readable documentation bundles, and starting development or MCP
|
|
servers.
|
|
|
|
---
|
|
|
|
# Typical usage
|
|
|
|
The CLI is normally invoked through the installed command:
|
|
|
|
```bash
|
|
doc-forge <command> [options]
|
|
```
|
|
|
|
Programmatic invocation is also possible:
|
|
|
|
Example:
|
|
|
|
```python
|
|
from docforge.cli import main
|
|
main()
|
|
```
|
|
|
|
---
|
|
"""
|
|
|
|
from .main import main
|
|
|
|
__all__ = [
|
|
"main"
|
|
]
|