Class: Ukiryu::CliCommands::ValidateCommand

Inherits:
Thor
  • Object
show all
Defined in:
lib/ukiryu/cli_commands/validate_command.rb

Overview

Validate tool definitions

The validate command checks tool definitions against JSON Schema and structural validation rules.

Instance Method Summary collapse

Instance Method Details

#allObject



28
29
30
31
# File 'lib/ukiryu/cli_commands/validate_command.rb', line 28

def all
  validate_all
  test_all_executables if options[:all] || options[:executable]
end

#file(path) ⇒ Object



22
23
24
# File 'lib/ukiryu/cli_commands/validate_command.rb', line 22

def file(path)
  validate_file(path)
end

#string(yaml) ⇒ Object



34
35
36
# File 'lib/ukiryu/cli_commands/validate_command.rb', line 34

def string(yaml)
  validate_string(yaml)
end