-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy pathhelp
More file actions
45 lines (33 loc) · 1.09 KB
/
help
File metadata and controls
45 lines (33 loc) · 1.09 KB
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
Render the bashly data structure using custom templates
Usage:
bashly render SOURCE TARGET [--watch --show PATH]
bashly render SOURCE --about
bashly render --list
bashly render (-h|--help)
Options:
-w --watch
Watch bashly.yml and the templates source for changes and render on change
-s --show PATH
After rendering, show the result generated in PATH.
The provided PATH is treated as relative TARGET.
Note that this works only if the template source supports it.
-l --list
Show list of built-in templates
-a --about
Show information about a given templates source
-h --help
Show this help
Parameters:
SOURCE
An ID to an internal templates source, or a path to a custom templates
directory.
A leading colon (:) denotes an internal ID (see `--list`).
TARGET
Output directory
Examples:
bashly render --list
bashly render :markdown --about
bashly render :markdown docs --watch
bashly render :markdown docs --show "cli download.md
bashly render :mandoc docs --show cli-download.1
bashly render /path/to/templates ./out_path