lib/stevedore/cli.rb
# Parse command line arguments to extract the options, the Stevedore
# command and the arguments for the Stevedore command
Parse command line arguments to extract the options, the Stevedore
command and the arguments for the Stevedore command
Parse command line arguments to extract the options the Stevedore command and the arguments for the Stevedore command
def start
      parse_args
      if @command.nil?
        puts Help.help
        exit STATUS_FAIL
      else
        load_env_file unless @command == 'help'
        self.send('process_' + @command)
        exit STATUS_SUCCESS
      end
    end
def start parse_args if @command . nil? puts Help . help exit STATUS_FAIL else load_env_file unless @command == 'help' self . send ( 'process_' + @command ) exit STATUS_SUCCESS end end
Parse command line arguments to extract the options, the Stevedore
command and the arguments for the Stevedore command
Parse command line arguments to extract the options the Stevedore command and the arguments for the Stevedore command
# No supported command specified