metaflow icon indicating copy to clipboard operation
metaflow copied to clipboard

Introduce a simple way to skip checks in CLI on a per command basis

Open saikonen opened this issue 1 year ago • 0 comments

The currently prominent way of running the checks for a flow (including linting) for a platform specific CLI is to call obj.check in the entrypoint command, for example argo_workflows(). This makes circumventing checks for nested commands impossible, yet there are use cases where it would be preferable.

One example where this would be nice to have is the feature introduced in #1577 where the list-workflows command does not benefit from linting the flow file.

For safety/ease of use, we do want to stick with the approach that by default all nested commands should run checks, and this should be explicitly disabled only when necessary on a per-command basis.

saikonen avatar Oct 09 '23 21:10 saikonen