Documentation
¶
Overview ¶
Package cli provides a command-line interface (CLI) for the bicep-docs tool, utilizing cobra-cli.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDocs ¶ added in v1.2.0
GenerateDocs generates documentation based on the input file or directory.
If the input is a directory, it generates documentation for all 'main.bicep' files in the directory. If the input is a Bicep file, it generates documentation for that file only.
The output is used only when the input is a Bicep file; in other cases it is always set to 'README.md'.
The sections slice contains the sections that should be included in the documentation.
If verbose is true, additional information will be printed during the generation process.
Types ¶
This section is empty.