Class: CLI::Command
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
337 338 339 340 341 342 343 344 345 346 |
# File 'lib/CLI/command.rb', line 337 def run if params[:help] print help elsif params.errors.any? puts params.errors.summary else execute_command # pp params.to_h end end |