mirror of
https://github.com/terraform-docs/terraform-docs.git
synced 2026-03-27 12:58:35 +07:00
Add 'HideEmpy' section bool flag
* Add 'HideEmpy' section to Settings Signed-off-by: akatsadimas <nkatsadim@gmail.com> * Address review comments fixed linting and docs, moved HideEmpty to Settings struct Signed-off-by: akatsadimas <nkatsadim@gmail.com> * Address review comment document hideempty configuration option Signed-off-by: akatsadimas <nkatsadim@gmail.com> * Address review comments - improve docs Signed-off-by: akatsadimas <nkatsadim@gmail.com>
This commit is contained in:
@@ -31,6 +31,7 @@ terraform-docs asciidoc document [PATH] [flags]
|
||||
--footer-from string relative path of a file to read footer from (default "")
|
||||
--header-from string relative path of a file to read header from (default "main.tf")
|
||||
--hide strings hide section [all, data-sources, footer, header, inputs, modules, outputs, providers, requirements, resources]
|
||||
--hide-empty hide empty sections (default false)
|
||||
--indent int indention level of AsciiDoc sections [1, 2, 3, 4, 5] (default 2)
|
||||
--lockfile read .terraform.lock.hcl if exist (default true)
|
||||
--output-check check if content of output file is up to date (default false)
|
||||
|
||||
@@ -31,6 +31,7 @@ terraform-docs asciidoc table [PATH] [flags]
|
||||
--footer-from string relative path of a file to read footer from (default "")
|
||||
--header-from string relative path of a file to read header from (default "main.tf")
|
||||
--hide strings hide section [all, data-sources, footer, header, inputs, modules, outputs, providers, requirements, resources]
|
||||
--hide-empty hide empty sections (default false)
|
||||
--indent int indention level of AsciiDoc sections [1, 2, 3, 4, 5] (default 2)
|
||||
--lockfile read .terraform.lock.hcl if exist (default true)
|
||||
--output-check check if content of output file is up to date (default false)
|
||||
|
||||
@@ -22,6 +22,7 @@ terraform-docs asciidoc [PATH] [flags]
|
||||
--anchor create anchor links (default true)
|
||||
--default show Default column or section (default true)
|
||||
-h, --help help for asciidoc
|
||||
--hide-empty hide empty sections (default false)
|
||||
--indent int indention level of AsciiDoc sections [1, 2, 3, 4, 5] (default 2)
|
||||
--required show Required column or section (default true)
|
||||
--sensitive show Sensitive column or section (default true)
|
||||
|
||||
@@ -32,6 +32,7 @@ terraform-docs markdown document [PATH] [flags]
|
||||
--footer-from string relative path of a file to read footer from (default "")
|
||||
--header-from string relative path of a file to read header from (default "main.tf")
|
||||
--hide strings hide section [all, data-sources, footer, header, inputs, modules, outputs, providers, requirements, resources]
|
||||
--hide-empty hide empty sections (default false)
|
||||
--html use HTML tags in genereted output (default true)
|
||||
--indent int indention level of Markdown sections [1, 2, 3, 4, 5] (default 2)
|
||||
--lockfile read .terraform.lock.hcl if exist (default true)
|
||||
|
||||
@@ -32,6 +32,7 @@ terraform-docs markdown table [PATH] [flags]
|
||||
--footer-from string relative path of a file to read footer from (default "")
|
||||
--header-from string relative path of a file to read header from (default "main.tf")
|
||||
--hide strings hide section [all, data-sources, footer, header, inputs, modules, outputs, providers, requirements, resources]
|
||||
--hide-empty hide empty sections (default false)
|
||||
--html use HTML tags in genereted output (default true)
|
||||
--indent int indention level of Markdown sections [1, 2, 3, 4, 5] (default 2)
|
||||
--lockfile read .terraform.lock.hcl if exist (default true)
|
||||
|
||||
@@ -23,6 +23,7 @@ terraform-docs markdown [PATH] [flags]
|
||||
--default show Default column or section (default true)
|
||||
--escape escape special characters (default true)
|
||||
-h, --help help for markdown
|
||||
--hide-empty hide empty sections (default false)
|
||||
--html use HTML tags in genereted output (default true)
|
||||
--indent int indention level of Markdown sections [1, 2, 3, 4, 5] (default 2)
|
||||
--required show Required column or section (default true)
|
||||
|
||||
Reference in New Issue
Block a user