lib/wire/cli/cli_commands.rb
# run the down command on +target_dir+ model
run the down command on +target_dir+ model
run the down command on + target_dir + model
def run_down(target_dir)
      if commands[:down_command].run({ :target_dir => target_dir })
        puts 'OK'.color(:green)
      else
        puts 'ERROR, detected errors'.color(:red)
      end
    end
def run_down ( target_dir ) if commands [ :down_command ] . run ( { :target_dir => target_dir } ) puts 'OK' . color ( :green ) else puts 'ERROR, detected errors' . color ( :red ) end end
run the down command on +target_dir+ model
run the down command on + target_dir + model
# :reek:DuplicateCode
target_dir
<not_specific>