Open fjying opened 2 months ago
I think the thing to do here is allow blackfish rm
to accept filters with pattern matching as well as a convenience option --all
.
The feature should allow actions such as:
blackfish rm --filter status=FAILED,image=text-*
which would delete all text-generation-inference
services whose status is FAILED
. The command to delete all services would be
blackfish rm --all
The --all option to remove all the services is great.
Alternatively, it could also accept
blackfish rm --status=FAILED --image=text-*
Add blackfish rm . to remove all the past services once This reduces the time to load all the past not used services when doing blackfish ls