You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Render []string`arg:"--render,separate" help:"Controls what examples to render for structs: struct-json, struct-yaml (can specify multiple)"`
93
-
BuildTag[]string`arg:"--build-tag,separate" help:"Build tags to include when parsing (can specify multiple, e.g., --build-tag=integration --build-tag=dev)" placeholder:"TAG"`
94
-
AllBuildTagsbool`arg:"--all-build-tags" help:"Auto-discover and include all build tags found in source files"`
95
-
IgnoreMarkdownHeadingsbool`arg:"--ignore-markdown-headings" help:"Replace markdown headings (#, ##, etc.) in comments with their text content"`
72
+
Outstring`arg:"-o" help:"The out filepath to write the generated document, default module path, file docs.adoc" placeholder:"PATH"`
73
+
StdOutbool` help:"If output the generated asciidoc to stdout instead of file"`
74
+
Debugbool`arg:"--debug" help:"Outputs debug statements to stdout during processing"`
75
+
Modulestring`arg:"-m" help:"an optional folder or file path to module, otherwise current directory" placeholder:"PATH"`
76
+
Internalbool`arg:"-i" help:"If internal go code shall be rendered as well"`
77
+
Privatebool`arg:"-p" help:"If files beneath directories starting with an underscore shall be included"`
78
+
NonExportedbool` help:"Renders Non exported as well as the exported. Default only Exported is rendered."`
79
+
Testbool`arg:"-t" help:"If test code should be included"`
80
+
NoIndexbool`arg:"-n" help:"If no index header shall be generated"`
81
+
NoTocbool` help:"Removes the table of contents if index document"`
82
+
IndexConfigstring`arg:"-c" help:"JSON document to override the IndexConfig" placeholder:"JSON"`
83
+
Overrides[]string`arg:"-r,separate" help:"name=template filepath to override default templates"`
84
+
Paths[]string`arg:"positional" help:"Directory or files to be included in scan (if none, current path is used)" placeholder:"PATH"`
85
+
ListTemplatesbool`arg:"--list-template" help:"Lists all default templates in the binary"`
86
+
OutputTemplatestring`arg:"--out-template" help:"outputs a template to stdout"`
87
+
PackageDoc[]string`arg:"-d,separate" help:"set relative package search filepaths for package documentation" placeholder:"FILEPATH"`
88
+
TemplateDirstring` help:"Loads template files *.gtpl from a directory, use --list to get valid names of templates"`
89
+
TypeLinksstring`arg:"--type-links" help:"Controls type reference linking: disabled, internal, or external (default disabled)"`
90
+
Concatenationstring`arg:"--concatenation" help:"Controls doc comment concatenation: none or full (default none)" default:"none"`
Render[]string`arg:"--render,separate" help:"Controls what examples to render for structs: struct-json, struct-yaml (can specify multiple)"`
93
+
BuildTag []string`arg:"--build-tag,separate" help:"Build tags to include when parsing (can specify multiple, e.g., --build-tag=integration --build-tag=dev)" placeholder:"TAG"`
94
+
AllBuildTagsbool`arg:"--all-build-tags" help:"Auto-discover and include all build tags found in source files"`
95
+
IgnoreMarkdownHeadingsbool`arg:"--ignore-markdown-headings" help:"Replace markdown headings (#, ##, etc.) in comments with their text content"`
0 commit comments