Class: Ace::Docs::CLI::Commands::Validate
- Inherits:
-
Support::Cli::Command
- Object
- Support::Cli::Command
- Ace::Docs::CLI::Commands::Validate
- Includes:
- ScopeOptions, Support::Cli::Base
- Defined in:
- lib/ace/docs/cli/commands/validate.rb
Overview
ace-support-cli Command class for the validate command
This command handles document validation.
Constant Summary collapse
- EXIT_SUCCESS =
Exit codes
0- EXIT_ERROR =
1
Instance Method Summary collapse
Instance Method Details
#call(pattern: nil, **options) ⇒ Object
66 67 68 69 70 71 72 73 74 |
# File 'lib/ace/docs/cli/commands/validate.rb', line 66 def call(pattern: nil, **) # Handle --help/-h passed as pattern argument if pattern == "--help" || pattern == "-h" # ace-support-cli will handle help automatically, so we just ignore return EXIT_SUCCESS end execute_validate(pattern, ) end |