From eae6ce893372b3cc1a24d83fe8a6f1e229ef3234 Mon Sep 17 00:00:00 2001 From: rhumaric Date: Sat, 5 Oct 2013 13:01:18 +0100 Subject: [PATCH] Updated documentation --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 04edde5..61f2b38 100644 --- a/README.md +++ b/README.md @@ -128,6 +128,13 @@ grunt.initConfig({ }); ``` +In the template, you've got access to the following variables: + + - *task*: String with the name of the tasks to be run + - *args*: String with the list of arguments to provide to the task + - *gruntfileDirectory*: Absolute path to the directory containing the Gruntfile + - *preventExit*: Flag telling if the hook should avoid exiting after the grunt task + #### Extending the plugin Pretty annoying when you're using a library that's missing the exact extension point you need to tweak its functionalities?