Skip to content

Instantly share code, notes, and snippets.

@paulczar
Created November 27, 2013 15:26
Show Gist options
  • Save paulczar/7677550 to your computer and use it in GitHub Desktop.
Save paulczar/7677550 to your computer and use it in GitHub Desktop.
add help command for your vagrantfile with this one easy trick
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