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

run commands only once per set of parameters they use #700

Open
c-cube opened this issue Oct 26, 2023 · 0 comments
Open

run commands only once per set of parameters they use #700

c-cube opened this issue Oct 26, 2023 · 0 comments

Comments

@c-cube
Copy link

c-cube commented Oct 26, 2023

My use case is a bit different than in #637 but I think the solution could be the same.

Basically I want to run command "foo", "bar", and "baz {A} {B} {C}" with parameters A, B, C. Currently "foo" and "bar" are run once for each combination of A, B, and C, which is inefficient and clutters the output. Instead, "foo" and "bar" should run only once each.

It could be done either by, after expanding all combinations, deduplicating commands (but then showing parameters is harder); or detecting which subset of parameter/scans each command takes and computing only the relevant combinations.

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

No branches or pull requests

2 participants