Difference between revisions of "Inspec --help"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
   inspec artifact SUBCOMMAND                          # Manage Chef InSpec Artifacts
 
   inspec artifact SUBCOMMAND                          # Manage Chef InSpec Artifacts
 
   inspec automate SUBCOMMAND or compliance SUBCOMMAND  # Chef Automate commands
 
   inspec automate SUBCOMMAND or compliance SUBCOMMAND  # Chef Automate commands
   inspec check PATH                                    # verify all tests at the specified PATH
+
   [[inspec check]] PATH                                    # verify all tests at the specified PATH
 
   inspec clear_cache                                  # clears the InSpec cache. Useful for debugging.
 
   inspec clear_cache                                  # clears the InSpec cache. Useful for debugging.
   inspec detect                                        # detect the target OS
+
   [[inspec detect]]                                       # detect the target OS
 
   inspec env                                          # Output shell-appropriate completion configuration
 
   inspec env                                          # Output shell-appropriate completion configuration
   inspec exec LOCATIONS                                # Run all tests at LOCATIONS.
+
   [[inspec exec]] LOCATIONS                                # Run all tests at LOCATIONS.
   inspec habitat SUBCOMMAND                            # Manage Habitat with Chef InSpec
+
   [[inspec habitat]] SUBCOMMAND                            # Manage Habitat with Chef InSpec
 
   inspec help [COMMAND]                                # Describe available commands or one specific command
 
   inspec help [COMMAND]                                # Describe available commands or one specific command
 
   inspec init SUBCOMMAND                              # Generate InSpec code
 
   inspec init SUBCOMMAND                              # Generate InSpec code
Line 39: Line 39:
  
 
== See also ==
 
== See also ==
 +
* {{inspec}}
 
* {{Chef}}
 
* {{Chef}}
  
 
[[Category:Inspec]]
 
[[Category:Inspec]]

Latest revision as of 06:24, 27 July 2021

inspec --help


Commands:
  inspec archive PATH                                  # archive a profile to tar.gz (default) or zip
  inspec artifact SUBCOMMAND                           # Manage Chef InSpec Artifacts
  inspec automate SUBCOMMAND or compliance SUBCOMMAND  # Chef Automate commands
  inspec check PATH                                    # verify all tests at the specified PATH
  inspec clear_cache                                   # clears the InSpec cache. Useful for debugging.
  inspec detect                                        # detect the target OS
  inspec env                                           # Output shell-appropriate completion configuration
  inspec exec LOCATIONS                                # Run all tests at LOCATIONS.
  inspec habitat SUBCOMMAND                            # Manage Habitat with Chef InSpec
  inspec help [COMMAND]                                # Describe available commands or one specific command
  inspec init SUBCOMMAND                               # Generate InSpec code
  inspec json PATH                                     # read all tests in PATH and generate a JSON summary
  inspec plugin SUBCOMMAND                             # Manage Chef InSpec and Train plugins
  inspec shell                                         # open an interactive debugging shell
  inspec supermarket SUBCOMMAND ...                    # Supermarket commands
  inspec vendor PATH                                   # Download all dependencies and generate a lockfile in a `vendor` directory
  inspec version                                       # prints the version of this tool

Options:
  l, [--log-level=LOG_LEVEL]                         # Set the log level: info (default), debug, warn, error
      [--log-location=LOG_LOCATION]                  # Location to send diagnostic log messages to. (default: $stdout or Inspec::Log.error)
      [--diagnose], [--no-diagnose]                  # Show diagnostics (versions, configurations)
      [--color], [--no-color]                        # Use colors in output.
      [--interactive], [--no-interactive]            # Allow or disable user interaction
      [--disable-user-plugins]                       # Disable loading all plugins that the user installed.
      [--enable-telemetry], [--no-enable-telemetry]  # Allow or disable telemetry
      [--chef-license=CHEF_LICENSE]                  # Accept the license for this product and any contained products: accept, accept-no-persist, 
accept-silent


About Chef InSpec:
  Patents: chef.io/patents


See also[edit]

Advertising: