Method: App#run

Defined in:
lib/scensus-utils.rb

#runObject

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 parsed_options? && arguments_valid? 
    
    puts "Start at #{DateTime.now}\n\n" if @options.verbose
    
    output_options if @options.verbose # [Optional]
          
    process_arguments            
    process_command
    
    puts "\nFinished at #{DateTime.now}" if @options.verbose
    
  else
    output_usage
  end
    
end