struct Mint::Cli::Docs::Flags

Overview

Extend the flags struct to include the flag

Defined in:

commands/docs.cr:3
commands/docs.cr:8
commands/docs.cr:12

Constant Summary

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}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)

Constructors

Instance Method Summary

Constructor Detail

def self.new(command : Admiral::Command) #

Instance Method Detail

def __help__ #

def include_core #

[View source]
def include_packages #

[View source]
def inspect(io) #

[View source]
def validate!(command) #