-
Notifications
You must be signed in to change notification settings - Fork 103
Expand file tree
/
Copy pathhelpMessage.js
More file actions
19 lines (16 loc) · 1022 Bytes
/
helpMessage.js
File metadata and controls
19 lines (16 loc) · 1022 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
module.exports = function() {
var txt = 'Usage: panini --layouts=[layoutdir] --root=[rootdir] --output=[destdir] [other options] \'pagesglob\'\n' +
'\n' +
'Options: \n' +
' --layouts (required) path to a folder containing layouts\n' +
' --root (required) path to the root folder all pages live in\n' +
' --output (required) path to the folder compiled pages should get sent to\n' +
' --partials path to root folder for partials \n' +
' --helpers path to folder for additional helpers \n' +
' --data path to folder for additional data \n' +
'\n' +
'the argument pagesglob should be a glob describing what pages you want to apply panini to.\n' +
'\n' +
'Example: panini --root=src/pages --layouts=src/layouts --partials=src/partials --data=src/data --output=dist \'src/pages/**/*.html\'\n';
process.stdout.write(txt);
}