From 113d3a59eaa7547433434d155fc1e60aa7c2094c Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 11 Oct 2012 00:42:46 -0700 Subject: code cleanup. better support for nested configs and templates. --- lib/leap_cli/log.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/leap_cli/log.rb') diff --git a/lib/leap_cli/log.rb b/lib/leap_cli/log.rb index f51ca1e..fe8e5ac 100644 --- a/lib/leap_cli/log.rb +++ b/lib/leap_cli/log.rb @@ -42,3 +42,8 @@ def help!(message=nil) ENV['GLI_DEBUG'] = "false" help_now!(message) end + +def fail!(message=nil) + ENV['GLI_DEBUG'] = "false" + exit_now!(message) +end \ No newline at end of file -- cgit v1.2.3