1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
| var path = require('path');
|
| module.exports = {
| help: {
| short: 'h',
| info: 'Display this help text.',
| type: Boolean
| },
| base: {
| short: 'b',
| info: 'Specify an alternate base path. By default, all file paths are relative to the Gruntfile. ' +
| '(grunt.file.setBase) *',
| type: path
| },
| color: {
| info: 'Disable colored output.',
| type: Boolean,
| negate: true
| },
| gruntfile: {
| info: 'Specify an alternate Gruntfile. By default, grunt looks in the current or parent directories ' +
| 'for the nearest Gruntfile.js or Gruntfile.coffee file.',
| type: path
| },
| debug: {
| short: 'd',
| info: 'Enable debugging mode for tasks that support it.',
| type: [Number, Boolean]
| },
| stack: {
| info: 'Print a stack trace when exiting with a warning or fatal error.',
| type: Boolean
| },
| force: {
| short: 'f',
| info: 'A way to force your way past warnings. Want a suggestion? Don\'t use this option, fix your code.',
| type: Boolean
| },
| tasks: {
| info: 'Additional directory paths to scan for task and "extra" files. (grunt.loadTasks) *',
| type: Array
| },
| npm: {
| info: 'Npm-installed grunt plugins to scan for task and "extra" files. (grunt.loadNpmTasks) *',
| type: Array
| },
| write: {
| info: 'Disable writing files (dry run).',
| type: Boolean,
| negate: true
| },
| verbose: {
| short: 'v',
| info: 'Verbose mode. A lot more information output.',
| type: Boolean
| },
| version: {
| short: 'V',
| info: 'Print the grunt version. Combine with --verbose for more info.',
| type: Boolean
| },
| // Even though shell auto-completion is now handled by grunt-cli, leave this
| // option here for display in the --help screen.
| completion: {
| info: 'Output shell auto-completion rules. See the grunt-cli documentation for more information.',
| type: String
| },
| preload: {
| short: 'p',
| info: 'Specify a language interpreter to require first if you are writing your Gruntfile in ' +
| 'a language Grunt doesn\'t support by default.',
| type: String
| },
| };
|
|