Skip to content
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

multiple "on_value" values #37

Open
shannonpasto opened this issue Jan 22, 2021 · 1 comment
Open

multiple "on_value" values #37

shannonpasto opened this issue Jan 22, 2021 · 1 comment

Comments

@shannonpasto
Copy link

I'd like to be able to specify multiple "on_value" values. If the script returns any of the values listed the switch would then be considered as on. Any chance you could add this in?

@mayurankv
Copy link

Probably not what you're looking for and definitely slightly more inefficient but if its pressing you could write a shell script to call the main script and then if any of the results you want to see are returned, then this script returns true, otherwise just false.

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

2 participants