aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-10-10 00:09:31 -0700
committerelijah <elijah@riseup.net>2012-10-10 00:09:31 -0700
commit47062a50e9bba238191838a6625b81793afa8472 (patch)
treeb4b9603f37ba79c522edcc7193cc8e360c36f442 /bin
parent2a4dffe29da16dec1147a7f20715a1fa657368ac (diff)
downloadleap_cli-47062a50e9bba238191838a6625b81793afa8472.tar.gz
leap_cli-47062a50e9bba238191838a6625b81793afa8472.tar.bz2
hierarchical yaml output.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/leap11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/leap b/bin/leap
index 4155b58..af37986 100755
--- a/bin/leap
+++ b/bin/leap
@@ -50,6 +50,17 @@ module LeapCli::Commands
def_delegator :@terminal, :say, 'self.say'
#
+ # make config manager available as 'manager'
+ #
+ def self.manager
+ @manager ||= begin
+ manager = LeapCli::Config::Manager.new
+ manager.load(LeapCli::Path.provider)
+ manager
+ end
+ end
+
+ #
# info about leap command line suite
#
program_desc 'LEAP platform command line interface'