Created
November 27, 2013 15:26
-
-
Save paulczar/7677550 to your computer and use it in GitHub Desktop.
add help command for your vagrantfile with this one easy trick
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
if ARGV[0] == 'help' and ARGV[1] == 'vagrantfile' | |
puts <<eof | |
How to use this Vagrantfile: | |
env['BRANCH'] - set a different branch to clone | |
eof | |
ARGV.shift(2) | |
ARGV.unshift('status') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment