summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-01-19 20:06:25 +0100
committervarac <varacanero@zeromail.org>2016-01-19 20:06:25 +0100
commit1b73438de4c407b602e2e60f85be8884ed5c3a4e (patch)
tree68b8a5e73b8a9c0986b9e251218495841d9a73ad
parentcc63aa3d94d5292a4bfa561ee216f1abe605c5c0 (diff)
add debug function for "leap debug"
-rw-r--r--lib/leap_cli/remote/leap_plugin.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/leap_cli/remote/leap_plugin.rb b/lib/leap_cli/remote/leap_plugin.rb
index 0106d85..21e69ee 100644
--- a/lib/leap_cli/remote/leap_plugin.rb
+++ b/lib/leap_cli/remote/leap_plugin.rb
@@ -66,6 +66,13 @@ module LeapCli; module Remote; module LeapPlugin
end
#
+ # dumps debugging information
+ # #
+ def debug
+ run "#{Leap::Platform.leap_dir}/bin/debug.sh"
+ end
+
+ #
# dumps the recent deploy history to the console
#
def history
@@ -214,4 +221,4 @@ module LeapCli; module Remote; module LeapPlugin
# end
# puts "finished with return code: #{return_code}"
-end; end; end \ No newline at end of file
+end; end; end