diff options
author | elijah <elijah@riseup.net> | 2013-02-07 00:38:50 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-07 00:38:50 -0800 |
commit | 8795fe0c766e85f331084ea2580d1ad4c2890e7f (patch) | |
tree | d5b7f8b3df11c388c62eb5e501c514df3850b6f7 /lib/leap_cli/commands/pre.rb | |
parent | 6bfcfb412bdee4ea413aeab4f8ce28fe775d9372 (diff) |
added global --yes option
Diffstat (limited to 'lib/leap_cli/commands/pre.rb')
-rw-r--r-- | lib/leap_cli/commands/pre.rb | 3 |
1 files changed, 3 insertions, 0 deletions
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 |