Hwaro::CLI::Commands::Tool::ValidateCommand
Constants
DESCRIPTION = "Validate content frontmatter and markup"
FLAGS = [CONTENT_DIR_FLAG, STRICT_FLAG, MAX_WARNINGS_FLAG, JSON_FLAG, HELP_FLAG]
MAX_WARNINGS_FLAG = FlagInfo.new(short: nil, long: "--max-warnings", description: "Exit non-zero when warning count exceeds N (default: unlimited)", takes_value: true, value_hint: "N")
NAME = "validate"
POSITIONAL_ARGS = [] of String
POSITIONAL_CHOICES = [] of String
STRICT_FLAG = FlagInfo.new(short: nil, long: "--strict", description: "Treat warnings as errors when computing the exit code")
Class methods
metadata
Source