Skip to content

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

Description

@c-cube

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions