turbo icon indicating copy to clipboard operation
turbo copied to clipboard

Turbo prune with multiple scopes

Open baptisteArno opened this issue 3 years ago • 1 comments

Describe the feature you'd like to request

I'd like to be able to use multiple scopes with the prune CLI command.

Describe the solution you'd like

turbo prune --scope=app1 --scope=app2

We can already do this with the run command.

Describe alternatives you've considered

baptisteArno avatar Mar 11 '22 14:03 baptisteArno

I'm looking into this in https://github.com/vercel/turbo/discussions/2503

My use case is that we build all of our server side apps into a single image for simplicity. At run time we choose what app runs via environment variables.

CJEnright avatar Oct 30 '22 21:10 CJEnright

Closed by #2551

Once that gets released you should be able to specify multiple scopes:

turbo prune --scope=app1 --scope=app2

CJEnright avatar Nov 30 '22 17:11 CJEnright

Is it possible it's not released yet? I've seen the last release dates from Nov 1, while that PR is from after that.

Any plans on releasing this anytime soon? This would prevent me from rewriting my Dockerfile while this should be possible in the near future

jclaessens97 avatar Dec 15 '22 13:12 jclaessens97