databricks / click

The "Command Line Interactive Controller for Kubernetes"
Apache License 2.0
1.49k stars 84 forks source link

Delete a range of objects #56

Closed ericfrancis closed 3 years ago

ericfrancis commented 6 years ago

I have a need to delete old replicasets.

[eastus2] [none] [none] > rs
...
  432  calculator-v002                           0        0        0
  433  calculator-v003                           0        0        0
  434  calculator-v004                           0        0        0
  435  calculator-v005                           0        0        0
  436  calculator-v006                           1        1        0
  437  calculator-v007                           1        1        1
  438  calculator-v008                           1        1        1
...

Would be great if I could:

[eastus2] [none] [none] > delete 432
[eastus2] [none] [none] > delete 433

OR

[eastus2] [none] [none] > delete 432-438
nicklan commented 3 years ago

please see the range command which has been added since you opened this.