class DeepL::Parser

Defined in:

deepl/parser.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def help_message : String #

Crystal's OptionParser returns to its initial state after parsing by with_preserved_state. This also initialises @flags. @help_message is needed to store subcommand messages.


[View source]
def help_message=(help_message : String) #

Crystal's OptionParser returns to its initial state after parsing by with_preserved_state. This also initialises @flags. @help_message is needed to store subcommand messages.


[View source]
def opt : Options #

[View source]
def parse(args) #
Description copied from class OptionParser

Parses the passed args (defaults to ARGV), running the handlers associated to each option.


[View source]

Macro Detail

macro _on_debug_ #

[View source]
macro _on_help_ #

[View source]