mitre / inspec_tools

A command-line and ruby API of utilities, converters and tools for creating, converting and processing security baseline formats, results and data
https://inspec-tools.mitre.org/
Other
91 stars 30 forks source link

--help option is broken but inspec_tools help <command> works #77

Closed aaronlippold closed 4 years ago

aaronlippold commented 4 years ago

➜ inspec_tools git:(master) inspec_tools summary --help No value provided for required options '--inspec-json' ➜ inspec_tools git:(master) inspec_tools help summary
Usage: inspec_tools summary -j, --inspec-json=INSPEC_JSON

Options: -j, --inspec-json=INSPEC_JSON
-o, [--output=OUTPUT]
-c, [--cli=CLI]
-V, [--verbose], [--no-verbose]
[--log-level=LOG_LEVEL] # Set the logging level: ["debug", "info", "warn", "error", "fatal"] [--log-location=LOG_LOCATION] # Location to send diagnostic log messages to. (default: $stdout or Inspec::Log.error) l, [--log-directory=LOG_DIRECTORY] # Provie log location

Description: summary parses an inspec results json to create a summary json Examples:

inspec_tools summary -j examples/sample_json/rhel-simp.json -o summary.json