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