class CliOptions

Defined in:

bindgen.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(strings : Indexable(String) = ARGV) #

[View source]

Class Method Detail

def self.toka_options : Toka::OptionDescriptor #

Descriptor of available options


Instance Method Detail

def chdir : String | Nil #

Getter for #chdir. This option can be accessed through the long-option --chdir or the short-option


def debug : Bool #

Getter for #debug. This option can be accessed through the long-option --debug or the short-option -d, -D


def debug? : Bool #

Getter for #debug. See #debug for full documentation.


def positional_options : Array(String) #

def stats : Bool #

Generate option getters Getter for #stats. This option can be accessed through the long-option --stats or the short-option -s, -S


def stats? : Bool #

Getter for #stats. See #stats for full documentation.


def trace : Bool #

Getter for #trace. This option can be accessed through the long-option --trace or the short-option -t, -T


def trace? : Bool #

Getter for #trace. See #trace for full documentation.


def var : Hash(String, String) #

Getter for #var. This option can be accessed through the long-option --var or the short-option -v