Skip to content

Request to define all variables before use and check for undefined variables #38

New issue

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

Open
calebgcooper opened this issue Feb 22, 2024 · 0 comments

Comments

@calebgcooper
Copy link

This is more of a feature request than an issue. This library is fantastic and I've used it for many years.

I like to run scripts with the so called bash strict mode:
set -euo pipefail

This helps to avoid unexpended errors due to undefined variables etc.

When I try and run a script leveraging bash concurrency I cannot set -u because of undefined variables.

Would it be possible to define defaults for CONCURRENT_DRY_RUN and to check if remaining_args is undefined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant