pachadotdev / analogsea

Digital Ocean R client
https://pacha.dev/analogsea/
Apache License 2.0
154 stars 24 forks source link

Function to kill all droplets in one line? #27

Closed sckott closed 10 years ago

sckott commented 10 years ago

Seems useful, e.g., you're at the end of the work day and don't want to pay any longer for the droplets you've started, so just a quick one liner to kill all might be nice. Right now, you can do

droplets() %>% 
  droplets_delete

which only kills the first droplet. So you can repeat the above until you've killed all, but a new function, e.g., droplets_kill() could kill all droplets