Skip to content

# Cli

## `` docforge.cli

### 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:

    1

    doc-forge <command> [options]

Programmatic invocation is also possible:

Example:

    1
    2
    3
    4

    ```python
    from docforge.cli import main
    main()
    ```