这是indexloc提供的服务,不要输入任何密码
Skip to content
Discussion options

You must be logged in to vote

So, there is a much easier method to do this on the input side, similar to the way we do --filter:
https://github.com/vercel/turbo/blob/60f143e58735fa9b846035763ff9653ca4d957fd/cli/internal/scope/scope.go#L71

You'd make that change here:
https://github.com/vercel/turbo/blob/60f143e58735fa9b846035763ff9653ca4d957fd/cli/internal/prune/prune.go#L28

This allows specifying multiple --scope arguments.

Once you've received the input it's a little bit interesting in how that gets applied to prune. @chris-olszewski will be the person who can give more details if you get stuck!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CJEnright
Comment options

Answer selected by nathanhammond
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants