summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-06-21 17:49:42 -0700
committerelijah <elijah@riseup.net>2016-06-21 17:49:42 -0700
commitc7ebb220bc79d3a84e55745ed18d0d7b5baeacdd (patch)
tree2c1960d1125a4285de58e85901f93d5b2d4eea3f /bin
parent52dd4eb58bda84cb084cc119447cb83073b47510 (diff)
remove highline gem dependency
Diffstat (limited to 'bin')
-rwxr-xr-xbin/leap12
1 files changed, 0 insertions, 12 deletions
diff --git a/bin/leap b/bin/leap
index 9cd3518..7247168 100755
--- a/bin/leap
+++ b/bin/leap
@@ -27,8 +27,6 @@ rescue LoadError
end
require 'gli'
-require 'highline'
-require 'forwardable'
require 'leap_cli/lib_ext/gli' # our custom extensions to gli
#
@@ -40,16 +38,6 @@ require 'leap_cli/lib_ext/gli' # our custom extensions to gli
#
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'
- def_delegator :@terminal, :choose, 'self.choose'
- def_delegator :@terminal, :say, 'self.say'
- def_delegator :@terminal, :color, 'self.color'
- def_delegator :@terminal, :list, 'self.list'
# make config manager available as 'manager'
def self.manager