Method: App#run
- Defined in:
- lib/scensus-utils.rb
#run ⇒ Object
Parse options, check arguments, then process the command
70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
# File 'lib/scensus-utils.rb', line 70 def run if && arguments_valid? puts "Start at #{DateTime.now}\n\n" if .verbose if .verbose # [Optional] process_arguments process_command puts "\nFinished at #{DateTime.now}" if .verbose else output_usage end end |