metaflow
metaflow copied to clipboard
Introduce a simple way to skip checks in CLI on a per command basis
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.