summaryrefslogtreecommitdiff
path: root/bin/leap
diff options
context:
space:
mode:
Diffstat (limited to 'bin/leap')
-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'