struct Gemigrate::Backup::Flags

Overview

Extend the flags class to include the flag

Defined in:

gemigrate/backup.cr:6
gemigrate/backup.cr:9

Constant Summary

DESCRIPTIONS = {} of String => String
LONG_NAMES = ["\"--help\"", "\"--overwrite\""] of String
NAMES = ["__help__", "overwrite"] of String
SHORT_NAMES = ["\"-f\""] of String

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def __help__ : Bool #

def inspect(io) #

[View source]
def overwrite : Bool #

[View source]
def validate!(command) #

[View source]