lib/spandx/cli/main.rb in spandx-0.12.3 vs lib/spandx/cli/main.rb in spandx-0.13.0

- old
+ new

@@ -9,9 +9,10 @@ method_option :airgap, aliases: '-a', type: :boolean, desc: 'Disable network connections', default: false method_option :logfile, aliases: '-l', type: :string, desc: 'Path to a logfile', default: '/dev/null' method_option :format, aliases: '-f', type: :string, desc: 'Format of report', default: 'table' method_option :pull, aliases: '-p', type: :boolean, desc: 'Pull the latest cache before the scan', default: false method_option :require, aliases: '-r', type: :string, desc: 'Causes spandx to load the library using require.', default: nil + method_option :show_progress, aliases: '-sp', type: :boolean, desc: 'Shows a progress bar', default: true def scan(lockfile) if options[:help] invoke :help, ['scan'] else Spandx.airgap = options[:airgap]