You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have support for typo detection/suggestion, so e.g. script --hepl would produce a --hepl is an invalid argument, did you mean --help? message
The text was updated successfully, but these errors were encountered:
Hello, have you considered using ARG_RESTRICT_VALUES as documented in https://argbash.readthedocs.io/en/latest/guide.html#convenience-macros?
Regarding suggestions, that requires quite complex logic that would have to be implemented in Bash - one would need to "compute" the "distance" of the supplied string from existing options, and then suggesting to select existing one. If you have Bash code in mind that could do this, please go ahead and suggest that.
It would be nice to have support for typo detection/suggestion, so e.g.
script --hepl
would produce a--hepl is an invalid argument, did you mean --help?
messageThe text was updated successfully, but these errors were encountered: