|
The Bash Argsparse Library
An high level argument parsing library for bash.
|
Functions | |
| argsparse_has_option_property (option, property) | |
| Determine if an option has a property. | |
| argsparse_set_option_property (property, option...) | |
| Enable a property to a list of options. | |
Variables | |
| AssociativeArray | __argsparse_options_default_values |
| Internal use only. | |
| AssociativeArray | __argsparse_options_properties |
| Internal use only. | |
| argsparse_has_option_property | ( | option | , |
| property | |||
| ) |
Determine if an option has a property.
Return True if property has been set for given option, and print the property value, if available.
| option | an option name. |
| property | a property name. |
| 0 | if option has given property. |
| argsparse_set_option_property | ( | property | , |
| option... | |||
| ) |
Enable a property to a list of options.
| property | a property name. |
| option... | option names. |
| AssociativeArray __argsparse_options_default_values |
Internal use only.
An associative array where options default values are stored as soon as the 'default:' property is set.
1.7.6.1