Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thoughtbot/cocaine
A small library for doing (command) lines.
https://github.com/thoughtbot/cocaine
Last synced: 5 days ago
JSON representation
A small library for doing (command) lines.
- Host: GitHub
- URL: https://github.com/thoughtbot/cocaine
- Owner: thoughtbot
- License: other
- Archived: true
- Created: 2011-05-18T18:33:12.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2018-02-07T15:19:35.000Z (over 6 years ago)
- Last Synced: 2024-05-15T13:56:03.617Z (6 months ago)
- Language: Ruby
- Homepage: https://robots.thoughtbot.com
- Size: 160 KB
- Stars: 787
- Watchers: 53
- Forks: 55
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-ruby-toolbox - cocaine - A small library for doing (command) lines (Developer Tools / CLI Option Parsers)
README
# Cocaine has been renamed to Terrapin
Please track further development on [the Terrapin project page](http://github.com/thoughtbot/terrapin).
The final version of this gem simply requires Terrapin. It should not function any
differently from previous versions.## Upgrading to Terrapin
Upgrading to Terrapin is expected to be as simple as replacing the `Cocaine`
constant with `Terrapin`. That is```ruby
Cocaine::CommandLine.new("echo", "hello")
```should become
```ruby
Terrapin::CommandLine.new("echo", "hello")
```and should continue to work fine.
## License
Copyright 2011-2018 Jon Yurek and thoughtbot, inc. This is free software, and
may be redistributed under the terms specified in the
[LICENSE](https://github.com/thoughtbot/cocaine/blob/master/LICENSE)
file.