struct

Mint::Cli::DocsJson::Flags

Inherits Struct < Value < Object

Extend the flags struct to include the flag

Constants

DESCRIPTIONS = {} of String => String
SPECS = {"__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "include_core" => {kind: "bool", type: "Bool", default: "false", description: {"--include-core", "If specified, documentation will be generated for the standard library as well."}, short: "nil", long: "include-core", is_required: true}, "include_packages" => {kind: "bool", type: "Bool", default: "false", description: {"--include-packages", "If specified, documentation will be generated for used packages as well."}, short: "nil", long: "include-packages", is_required: true}, "pretty" => {kind: "bool", type: "Bool", default: "false", description: {"--pretty", "If specified, the JSON will be pretty printed."}, short: "nil", long: "pretty", is_required: true}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)

Constructors

new(command : Admiral::Command)

Instance methods

__help__
include_core
Source
include_packages
Source
inspect(io)
Source
pretty
Source
validate!(command)