Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sakuro/capistrano-invoke
Reincarnation of the good old `cap invoke`
https://github.com/sakuro/capistrano-invoke
Last synced: 2 months ago
JSON representation
Reincarnation of the good old `cap invoke`
- Host: GitHub
- URL: https://github.com/sakuro/capistrano-invoke
- Owner: sakuro
- License: mit
- Created: 2015-06-26T03:42:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-28T03:49:54.000Z (over 9 years ago)
- Last Synced: 2024-04-26T15:01:28.492Z (9 months ago)
- Language: Ruby
- Size: 125 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Capistrano::Invoke
This gem adds the good old `invoke` task to Capistrano.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'capistrano-invoke', require: false
```And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-invoke
Remember to add this line to your Capfile:
```ruby
require 'capistrano/invoke'
```## Usage
After adding this gem, `cap invoke` will run the command given via the environment
variable `COMMAND` on all servers (OR ones specified by `HOSTS` or `ROLES`)## Restrictions/TODOs
* As this gem passes given `COMMAND` directly to `execute`, command mappings and some neat features of SSHKit (like `within`) are not supported.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/sakuro/capistrano-invoke.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).