abstract class CliGen::BaseFlag

Direct Known Subclasses

Defined in:

cligen/flag.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def description : String #

def env_var : String | Nil #

def long : String | Nil #

def long_key : String #

def matches?(token : String) : Bool #

abstract def raw_value : String | Nil #

abstract def satisfied? : Bool #

def short : String | Nil #

abstract def validate! : Nil #

def var : String #