We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
args
Currently, an executing script will fail if an attempt is made to access a missing or undefined args. For instance, the following will fail:
def test_args: if args.myArg == "":
If myArg was not provided as script argument (--args or --args-file) the previous will fail.
myArg
--args
--args-file
As a script author, missing arguments should fail silently by returning empty string. Or provide a way to test their declaration.
The text was updated successfully, but these errors were encountered:
@nrb Let me know if this summarize what you need. Thanks.
Sorry, something went wrong.
Yep, that sounds like what I'm looking for!
No branches or pull requests
Currently, an executing script will fail if an attempt is made to access a missing or undefined args. For instance, the following will fail:
If
myArg
was not provided as script argument (--args
or--args-file
) the previous will fail.As a script author, missing arguments should fail silently by returning empty string. Or provide a way to test their declaration.
The text was updated successfully, but these errors were encountered: