From 8795fe0c766e85f331084ea2580d1ad4c2890e7f Mon Sep 17 00:00:00 2001 From: elijah Date: Thu, 7 Feb 2013 00:38:50 -0800 Subject: added global --yes option --- lib/leap_cli/commands/pre.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/leap_cli/commands/pre.rb') diff --git a/lib/leap_cli/commands/pre.rb b/lib/leap_cli/commands/pre.rb index 26dce40..f10eb68 100644 --- a/lib/leap_cli/commands/pre.rb +++ b/lib/leap_cli/commands/pre.rb @@ -18,6 +18,9 @@ module LeapCli desc 'Display version number and exit' switch :version, :negatable => false + desc 'Skip prompts and assume "yes"' + switch :yes, :negatable => false + pre do |global,command,options,args| # # set verbosity -- cgit v1.2.3