Sha256: 19bd22471c0ee852c5401992727f56e326a514f1a3aa08b7fa04fb782a1d0035
Contents?: true
Size: 700 Bytes
Versions: 3
Compression:
Stored size: 700 Bytes
Contents
# lib/aia/main.rb module AIA ; end require_relative 'configuration' require_relative 'cli' require_relative 'prompt_processing' require_relative 'external' require_relative 'logging' # Everything is being handled within the context # of a single class. class AIA::Main include AIA::Configuration include AIA::Cli include AIA::PromptProcessing include AIA::External include AIA::Logging def initialize(args= ARGV) setup_configuration setup_cli_options(args) setup_external_programs end def call show_usage if help? show_version if version? get_prompt process_prompt send_prompt_to_external_command log_result unless log.nil? end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aia-0.3.4 | lib/aia/main.rb |
aia-0.3.3 | lib/aia/main.rb |
aia-0.3.0 | lib/aia/main.rb |