This document provides a complete reference for all DocGen commands.
doc-gen [OPTIONS] COMMAND [ARGS]...Initialize project configuration.
doc-gen init [OPTIONS]Options:
--mode TEXT- Initialization mode (all, config)--force- Overwrite existing files--ask- Ask before overwriting
Examples:
doc-gen init
doc-gen init --mode config
doc-gen init --mode all --forceStructure-related commands (parent command).
doc-gen structure [OPTIONS] COMMAND [ARGS]...Generate PROJECT_STRUCTURE.md.
doc-gen structure generate [OPTIONS]Options:
--profile [minimal|default|detailed]- Output profile--max-depth INTEGER- Maximum directory depth--smart / --no-smart- Enable smart mode--show-files / --no-files- Show individual files--output FILE- Output file path
Examples:
doc-gen structure generate
doc-gen structure generate --profile minimal
doc-gen structure generate --smart
doc-gen structure generate --max-depth 2
doc-gen structure generate --output my-structure.mdPrint structure to console.
doc-gen structure print [OPTIONS]Options: Same as generate command.
Examples:
doc-gen structure print
doc-gen structure print --smart
doc-gen structure print --max-depth 3Analyze project structure.
doc-gen structure analyze [OPTIONS]Examples:
doc-gen structure analyze
doc-gen structure analyze --smart--help- Show help message--version- Show version--no-banner- Hide banner
For convenience, use Makefile shortcuts:
make l-generate # Run generate locally
make l-generate-smart # Run generate with smart mode
make l-print # Run print locally
make l-analyze # Run analyze locallymake d-generate # Run generate in Docker
make d-generate-smart # Run generate with smart mode in Docker
make d-print # Run print in Docker
make d-analyze # Run analyze in Dockermake c-generate # Run generate using compose
make c-generate-smart # Run generate with smart mode using compose
make c-print # Run print using compose
make c-analyze # Run analyze using compose- Usage - Advanced usage guide
- Overview - User guide overview
- Quick Start - Quick start guide