argbash icon indicating copy to clipboard operation
argbash copied to clipboard

Bash argument parsing code generator

Results 59 argbash issues
Sort by recently updated
recently updated
newest added

The `ARG_OPTIONAL_REPEATED` and `ARG_OPTIONAL_INCREMENTAL` currently extend their defaults. It may make sense to give a possibility to pick the way defaults are handled, because there are legitimate use cases when...

enhancement
help wanted
proposal

This is the current generated function: ```sh load_lib_relativepath() { local lib_filename="$script_dir/$1" . $lib_filename || die "Not able to load library file '$lib_filename'" } ``` Two issues raised by `shellcheck`: ```sh...

Currently, if you set `DEFINE_LOAD_LIBRARY` without `DEFINE_SCRIPT_DIR`, it will fail with: ```sh-session ❯ argbash -i pipeline/scripts/get_version_from_registry.sh stdin:38: error: You have to define a script directory by some means before using...

Hello @matejak , I'm using these convenience wrapper utilities for quite a time. So maybe also other people would find them useful. If you'll consider to merge them, we'll update...

The problem with help texts in **argbash** is, that they must be inside shell comments. It makes their formatting really hard. However, I've found out, that using *here documents* is...

Supports --enable=all for shellcheck Adds shellcheck directives to properly source files The major change was cleaning up every variable instance to be compliant with Thank you for having a good...

This is either a lack of documentation (leading to a lack of understanding) or a bug. I have been trying to use the `--wrap` option for `argbash-init` but it doesn't...

When validation functions such as 'pint()' are placed into the resulting shell script they do not include the same indentation specified using `ARGBASH_SET_INDENT([ ])` instead the hard tabs remain and...

bug

The linked criticism to getopt only applies to the legacy stuff, which has no long arg support to start with.