metaflow
metaflow copied to clipboard
feature: allow rebuilding conda/pypi environments
this PR adds a command for forcing a rebuild of the conda/pypi environment(s) of a flow.
# rebuild all environments
HelloConda.py --environment conda environment rebuild
# specify any number of steps to rebuild only their environments
HelloConda.py --environment conda environment rebuild --step start --step end
General comment: could we align on the names. The extension already does this: https://github.com/Netflix/metaflow-nflx-extensions/blob/main/metaflow_extensions/netflix_ext/plugins/environment_cli.py and for the limited functionality supported here, we could do the same names (ie: resolve --force) which may make things a bit more consistent.
closing in favour of #2443