lib/wire/cli/cli_commands.rb
# run the verify command on +target_dir+ model
run the verify command on +target_dir+ model
run the verify command on + target_dir + model
def run_verify(target_dir)
      cmd_ver_obj = commands[:verify_command]
      cmd_ver_obj.run({ :target_dir => target_dir })
      if cmd_ver_obj.findings.size == 0
        puts 'OK, system is conforming to model'.color(:green)
      else
        puts 'ERROR, detected inconsistencies/errors.'.color(:red)
      end
    end
def run_verify ( target_dir ) cmd_ver_obj = commands [ :verify_command ] cmd_ver_obj . run ( { :target_dir => target_dir } ) if cmd_ver_obj . findings . size == 0 puts 'OK, system is conforming to model' . color ( :green ) else puts 'ERROR, detected inconsistencies/errors.' . color ( :red ) end end
run the verify command on +target_dir+ model
run the verify command on + target_dir + model
# cmd_ver_obj.findings.each do |val_error| #   puts val_error.to_s # end
target_dir
<not_specific>