module Comandante::OptParserTypes

Overview

Common Types used inside Comandante

Direct including types

Defined in:

comandante/opt_parser_types.cr

Constant Summary

EMPTY_ARGS = Array(String).new(size: 0, value: "")

Just in case an empty args array is needed

MAX_ARGS = 256

Default maximum number of program argument, you can however set any number in argument configuration range.

Macro Summary

Macro Detail

macro new_option_action(klass, &) #

inside yield you can use parser, id, and value


[View source]