Run, start, and stop should all work like ls
Closed this issue · 0 comments
dyoder commented
The ls
command has this neat scoping feature where you can simply type befog ls
and see a listing of all the servers tracked in your configuration. Similarly you can type befog ls --provider aws
and get a list of all the AWS instances.
It would be nice to do this for run
, start
, and stop
. You could even do it for remove
. Ex: befog run -c 'apt-get install go'
would install Go on all your boxes, not just those in a given bank. Probably not useful for installing Go, but (per Carlo) it would be cool for collecting configuration information from all your servers.
This would also give me an excuse to streamline the way the command processing works a bit.