README.md in vagrant-shell-commander-0.2.0 vs README.md in vagrant-shell-commander-0.3.0
- old
+ new
@@ -24,11 +24,11 @@
$ vagrant plugin bundle
## Usage
-To execute a command on all the machines:
+The command line utility is very similar to the ```vagrant ssh -c``` builtin command, but with multinode support and additional options. To execute a command on all the machines:
$ vagrant sh -c free
Restrict the machine to run:
@@ -36,10 +36,18 @@
Specify the working directory (remember to quote multiword commands):
$ vagrant sh -c 'ls -al' -d /srv/www
+Execute as specific user:
+
+ $ vagrant sh -c 'cap production deploy' -u 'deployer'
+
+Get help:
+
+ $ vagrant sh -h
+
To execute a command once the machine(s) has booted, add this configuration option to the Vagrantfile:
```ruby
Vagrant.configure("2") do |config|
# other...
@@ -47,17 +55,17 @@
config.sh.after_share_folders = "sudo /etc/init.d/myapp start"
end
```
-Get help:
-
- $ vagrant sh -h
-
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Add and implement your specs
4. Commit your changes (`git commit -am 'Add some feature'`)
5. Push to the branch (`git push origin my-new-feature`)
6. Create new Pull Request
+
+
+[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/fgimenez/vagrant-shell-commander/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
+