Skip to content

Instantly share code, notes, and snippets.

@chaslemley
Created January 24, 2012 15:35
Show Gist options
  • Save chaslemley/1670723 to your computer and use it in GitHub Desktop.
Save chaslemley/1670723 to your computer and use it in GitHub Desktop.
Accessing --verbose and --trace from within a Rake command
puts "ran with trace" if Rake.application.options.trace == true
puts "ran with verbose" if verbose == true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment