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
All my arguments are mandatory. I am confused about how to specify mandatory options so that I don't have to write logic to check all my args are passed.
The text was updated successfully, but these errors were encountered:
simbo1905
changed the title
confused about mandatory optional
confused about mandatory options
Dec 8, 2018
Hello, mandatory options are not supported by Argbash. I don't know your use case, but if you insist on required arguments, use positional arguments.
Required arguments with options are supported by some libraries, but they are generally considered bad practice, as this is not compliant neither with POSIX nor GNU CLI standards.
All my arguments are mandatory. I am confused about how to specify mandatory options so that I don't have to write logic to check all my args are passed.
The text was updated successfully, but these errors were encountered: