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 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 var : Hash(String, String) #

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