Difference between revisions of "Tflint --help"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
 +
 +
[[tflint]] --help
 
<pre>
 
<pre>
tflint --help
 
 
Usage:
 
Usage:
 
   tflint [OPTIONS] [FILE or DIR...]
 
   tflint [OPTIONS] [FILE or DIR...]
Line 28: Line 29:
  
 
== See also ==
 
== See also ==
 +
* {{tflint}}
 
* {{lint}}
 
* {{lint}}
* {{Terraform}}
+
* {{terraform validate}}
  
 
[[Category:Linter]]
 
[[Category:Linter]]

Latest revision as of 19:00, 7 February 2024

tflint --help
Usage:
  tflint [OPTIONS] [FILE or DIR...]

Application Options:
  -v, --version                                                 Print TFLint version
      --init                                                    Install plugins
      --langserver                                              Start language server
  -f, --format=[default|json|checkstyle|junit|compact|sarif]    Output format (default: default)
  -c, --config=FILE                                             Config file name (default: .tflint.hcl)
      --ignore-module=SOURCE                                    Ignore module sources
      --enable-rule=RULE_NAME                                   Enable rules from the command line
      --disable-rule=RULE_NAME                                  Disable rules from the command line
      --only=RULE_NAME                                          Enable only this rule, disabling all other defaults. Can be specified multiple times
      --enable-plugin=PLUGIN_NAME                               Enable plugins from the command line
      --var-file=FILE                                           Terraform variable file name
      --var='foo=bar'                                           Set a Terraform variable
      --module                                                  Inspect modules
      --force                                                   Return zero exit status even if issues found
      --no-color                                                Disable colorized output
      --loglevel=[trace|debug|info|warn|error]                  Change the loglevel

Help Options:
  -h, --help                                                    Show this help message

See also[edit]

Advertising: