Created
April 19, 2012 14:48
-
-
Save jm/2421438 to your computer and use it in GitHub Desktop.
Railcar CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add an app to Railcar list (it'll update in the UI automagically): | |
railcar add . | |
railcar app ~/code/myapp | |
# Launch an app already in the list; this will let us control the app using Railcar and add other features | |
railcar launch ~/path | |
railcar launch app_name # You can set the app name/alias in Railcar | |
# Stop a launched app | |
railcar stop ~/path | |
railcar stop app_name | |
# Initialize a Railcar environment in the current terminal | |
railcar init 1.9.3 | |
railcar init jruby | |
# Go to an app from anywhere | |
railcar cd app_name | |
# Install a Ruby or brew package | |
railcar install jruby | |
railcar install redis |
Makes sense, the CLI so far seems simple.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It'll probably just have the args fed into a script and manually handled. I am looking at Thor, but I'd prefer that the core app be dependency-less beyond the MacRuby std lib if at all possible... :/