Examples
Examples
Recommended
Dry-run never creates directories, writes files, replaces content, or prompts.
Command
doc-gen initCategory
Initialization
Quick Command
doc-gen init [OPTIONS]1. Preview​
Terminal
bashdoc-gen init --dry-runResult: Shows plan.
2. Initialize​
Terminal
bashdoc-gen initResult: Creates .config/doc_gen/config.toml when it does not exist.
3. Configuration only​
Terminal
bashdoc-gen init --mode configResult: Creates the same configuration file through the explicit config mode.
4. Force​
Terminal
bashdoc-gen init --mode all --forceResult: Replaces the existing configuration file without prompting.