Squash-merge lib-standardisation: adopt repo standards across packaging, tooling, docs, and CI. - standardize pyproject.toml (canonical packaging, lint config, extras, GSDFC pydoclint) - add py.typed marker, modernize type hints and Google-style docstrings - nest generated docs under docs/lib and docs/mcp; add hand-written wiki - adopt standard Type A PyPI CI pipeline (tag==version guard + quality gate) - promote generated CHANGELOG.md; bump version to 0.0.7
41 lines
849 B
Python
41 lines
849 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"]
|