Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rosylilly/reel
CLI Read-Eval-Execute-Loop tool
https://github.com/rosylilly/reel
Last synced: 5 days ago
JSON representation
CLI Read-Eval-Execute-Loop tool
- Host: GitHub
- URL: https://github.com/rosylilly/reel
- Owner: rosylilly
- License: mit
- Created: 2012-11-11T14:53:38.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2012-11-11T15:08:55.000Z (about 12 years ago)
- Last Synced: 2024-12-22T13:14:56.831Z (15 days ago)
- Language: Ruby
- Size: 109 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Cli::Reel
[repl](https://github.com/defunkt/repl) みたいに特定コマンドの repl を提供する CLI アプリケーションです。
repl との違いは
- 色がつく
- 強力な補完が書けるくらいしかありません。repl の補完が弱すぎて気に食わないから作った。
デフォルトで補完をサポートしているコマンドは
- git(wip)
## Installation
$ gem install cli-reel
or
$ git clone git://github.com/rosylilly/reel.git ~/reel
$ export PATH=$PATH:~/reel/bin## Usage
git の reel
$ reel git
REEL: git
(git)>> status
# On branch master
# Changes not staged for commit:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
#
# modified: README.md
#
no changes added to commit (use "git add" and/or "git commit -a")
(git)>>オプションつけて実行も出来る
$ reel git status
REEL: git status
(git)>>
# On branch master
# Changes not staged for commit:
# (use "git add ..." to update what will be committed)
# (use "git checkout -- ..." to discard changes in working directory)
#
# modified: README.md
#
no changes added to commit (use "git add" and/or "git commit -a")
(git)>>`--version` などのオプションをつけるときは少し違う
$ reel -- ruby -v
REEL: ruby -v
(ruby)>>
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.0]## Options
- -v / --[no-]verbose
- -d / --[no-]debug
- -H / --[no-]histroy
- -c / --[no-]color
- -r MOD / --require=MOD## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request