abstract class CliGen::BaseFlag

Direct Known Subclasses

Defined in:

cligen/flag/base.cr

Constant Summary

Log = ::Log.for(CliGen::Flag)

Constructors

Instance Method Summary

Constructor Detail

def self.new(var : String, short : String | Nil, long : String, env_var : String, description : String, delimiter : String, meta : FlagMeta) #

Instance Method Detail

abstract def check! : Nil #

def delimiter : String #

def description : String #

def env_var : String #

def long : String #

def long_key : String #

def matches?(token : String) : Bool #

def meta : FlagMeta #

abstract def raw_value : String | Nil #

abstract def satisfied? : Bool #

def short : String | Nil #

abstract def validate! : Nil #

def var : String #