From 9a8788fb80c6c4478dca748f96cb5e99772b8a86 Mon Sep 17 00:00:00 2001 From: Jeremy Cook Date: Sat, 26 Apr 2014 18:04:34 -0400 Subject: [PATCH] Removed uneeded config lines since the pretend and quiet options are set in global config. --- lib/homesick/cli.rb | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/lib/homesick/cli.rb b/lib/homesick/cli.rb index 1e29f01..ac2afb4 100644 --- a/lib/homesick/cli.rb +++ b/lib/homesick/cli.rb @@ -273,16 +273,6 @@ module Homesick desc 'exec CASTLE COMMAND', 'Execute a single shell command inside the root of a castle' - method_option :pretend, - type: :boolean, - default: false, - required: false, - desc: 'Perform a dry run of the command' - method_option :quiet, - type: :boolean, - default: false, - required: false, - desc: 'Run a command without any output from Homesick' def exec(castle, *args) check_castle_existance castle, 'exec' unless args.count > 0 @@ -302,16 +292,6 @@ module Homesick desc 'exec_all COMMAND', 'Execute a single shell command inside the root of every cloned castle' - method_option :pretend, - type: :boolean, - default: false, - required: false, - desc: 'Perform a dry run of the command' - method_option :quiet, - type: :boolean, - default: false, - required: false, - desc: 'Run a command without any output from Homesick' def exec_all(*args) unless args.count > 0 say_status :error,