Class: CLI::Command
Overview
Command line usage for the suppression generator
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'lib/CLI/command.rb', line 34 def run if params[:help] print help elsif params.errors.any? puts params.errors.summary else execute_command end end |