struct CrystalSync::Runner::LoadCommand::Flags

Overview

Extend the flags struct to include the flag

Defined in:

crystal-sync/runner.cr:72
crystal-sync/runner.cr:76

Constant Summary

DESCRIPTIONS = {} of String => String
SPECS = {"target_schema" => {type: "String", default: "nil", description: {"--target-schema", "target schema for tables"}, short: "nil", long: "target-schema", is_required: false}, "__help__" => {type: "Bool", default: "false", description: {"--help, -h", "Displays help for the current command."}, short: "h", long: "help", is_required: true}} of String => NamedTuple(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 inspect(io) #

[View source]
def target_schema : String? #

[View source]
def validate!(command) #