Skip to main content

Overview

Generate Structure Documentation

Writes Selected Output

Scan a repository, render its tree as Markdown, and write only the resolved output document.

Commanddoc-gen structure generate

Category

Project Structure

Quick Command

doc-gen structure generate [TARGET_DIRECTORY] [OPTIONS]

Purpose

Scan a repository, render its tree as Markdown, and write only the resolved output document.

  • Resolve target, profile, smart mode, rendering, and output settings.
  • Scan while applying ignore/collapse rules.
  • Render Markdown in memory.
  • In dry-run, show the plan and stop before directory/file creation.
  • In live mode, write only the resolved output and display summary/progress.