diff options
author | elijah <elijah@riseup.net> | 2013-01-28 02:23:50 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-01-28 02:23:50 -0800 |
commit | d30e9067a94e0d236df65d37b81809ddd6a4f153 (patch) | |
tree | 19f6774219df26cfd0e9b4c10caa3299ca201c91 /bin | |
parent | 1591a04c8a053b8d1e37c589d6e967b86c68c983 (diff) | |
download | leap_cli-d30e9067a94e0d236df65d37b81809ddd6a4f153.tar.gz leap_cli-d30e9067a94e0d236df65d37b81809ddd6a4f153.tar.bz2 |
added custom_vagrant_vm_line to Leapfile
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/leap | 17 |
1 files changed, 5 insertions, 12 deletions
@@ -39,9 +39,7 @@ module LeapCli::Commands extend GLI::App extend Forwardable - # # delegate highline methods to make them available to sub-commands - # @terminal = HighLine.new def_delegator :@terminal, :ask, 'self.ask' def_delegator :@terminal, :agree, 'self.agree' @@ -50,9 +48,7 @@ module LeapCli::Commands def_delegator :@terminal, :color, 'self.color' def_delegator :@terminal, :list, 'self.list' - # # make config manager available as 'manager' - # def self.manager @manager ||= begin manager = LeapCli::Config::Manager.new @@ -61,30 +57,27 @@ module LeapCli::Commands end end - # # make provider config available as 'provider' - # def self.provider manager.provider end - # + # make leapfile available as 'leapfile' + def self.leapfile + LeapCli::leapfile + end + # info about leap command line suite - # program_desc LeapCli::SUMMARY program_long_desc LeapCli::DESCRIPTION - # # handle --version ourselves - # if ARGV.grep(/--version/).any? puts "leap #{LeapCli::VERSION}, ruby #{RUBY_VERSION}" exit(0) end - # # load commands and run - # commands_from('leap_cli/commands') exit run(ARGV) end |