README.md in bcupgrade-0.2.0 vs README.md in bcupgrade-0.3.0
- old
+ new
@@ -32,18 +32,23 @@
% gem install bcupgrade
## Usage
```
-% bcupgrade -h
+% bcupgrade --help
Usage: bcupgrade [options]
+ -d, --dry-run Show output without running
+ -r, --remove Remove previous version casks with installing
+ -y, --yes Install cask without prompt
-v, --version Show version number
- --dry-run Show output without running
```
-`bcupgrade` displays a confirmation prompt `[y/n]` when it attempts to re-install.
+`bcupgrade` with no arguments to check & upgrade all casks.
+- displays a confirmation prompt `[y/n]` when it attempts to re-install.
+- Install latest version. (`brew cask install --force #{cask}`)
+
```
% bcupgrade
==> Check 'brew cask list'...
["1password", "alfred", "atom", "bartender"]
@@ -53,11 +58,10 @@
atom / 1.10.2
Upgrade 1password? [y/n] n
Upgrade atom? [y/n] y
-remove atom
install atom
==> Satisfying dependencies
complete
==> Downloading https://github.com/atom/atom/releases/download/v1.10.2/atom-mac.zip
############################################################################################################################## 100.0%
@@ -68,50 +72,26 @@
==> Symlinking Binary 'apm' to '/usr/local/bin/apm'
==> Symlinking Binary 'atom.sh' to '/usr/local/bin/atom'
🍺 atom was successfully installed!
```
-- Remove previous versions.
- `rm -rf /usr/local/Caskroom/#{cask}`
-- Install latest version.
- `brew cask install --force #{cask}`
+`bcupgrade` with arguments to check & upgrade selected casks.
```
-% brew cask info atom
-atom: 1.10.2
-https://atom.io/
-/usr/local/Caskroom/atom/1.10.2 (68B)
-From: https://github.com/caskroom/homebrew-cask/blob/master/Casks/atom.rb
-==> Name
-Github Atom
-==> Artifacts
-Atom.app (app)
-/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm (binary)
-/Applications/Atom.app/Contents/Resources/app/atom.sh (binary)
+% bcupgrade dropbox firefox
```
## Configuration File
-in the user's `~/.bcupgrade` (YAML syntax).
+If you want to ignore upgrade casks, you can add settings in the user's `~/.bcupgrade` (YAML syntax).
-If you want to ignore upgrade casks, you can add settings.
-
```
ignore:
- - omniplan1
+ - omniplan
- sublime-text2
```
-
-## Development
-
-After checking out the repo, run `bin/setup` to install dependencies.
-Then, run `rake spec` to run the tests.
-You can also run `bin/console` for an interactive prompt that will allow you to experiment.
-
-To install this gem onto your local machine, run `bundle exec rake install`.
-To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/DriftwoodJP/bcupgrade.
This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.