@@ -74,35 +74,34 @@ moban.output will contain::
7474Usage
7575================================================================================
7676
77- usage: moban [-h] [-cd CONFIGURATION_DIR] [-c CONFIGURATION]
78- [-td [TEMPLATE_DIR [TEMPLATE_DIR ...]]] [-t TEMPLATE]
79- [--template_type TEMPLATE_TYPE] [-o OUTPUT] [-f] [-m MOBANFILE]
80-
81- Yet another jinja2 cli command for static text generation
82-
83-
84- optional arguments
85- --------------------------------------------------------------------------------
86-
87- * `-h, --help `
88- show this help message and exit
89- * `-cd CONFIGURATION_DIR --configuration_dir CONFIGURATION_DIR `
90- the directory for configuration file lookup
91- * `-c CONFIGURATION, --configuration CONFIGURATION `
92- the dictionary file
93- * `-td [TEMPLATE_DIR [TEMPLATE_DIR ...]], --template_dir [TEMPLATE_DIR [TEMPLATE_DIR ...]] `
94- the directories for template file lookup
95- * `-t TEMPLATE, --template TEMPLATE `
96- the template file
97- * `--template_type TEMPLATE_TYPE `
98- the template type, default is jinja2
99- * `-o OUTPUT, --output OUTPUT `
100- the output file
101- * `-f `
102- force moban to template all files despite of .moban.hashes
103- * `-m MOBANFILE, --mobanfile MOBANFILE `
104- custom moban file
105-
77+ ::
78+
79+
80+ usage: moban [-h] [-cd CONFIGURATION_DIR] [-c CONFIGURATION]
81+ [-td [TEMPLATE_DIR [TEMPLATE_DIR ...]]] [-t TEMPLATE] [-o OUTPUT]
82+ [-f] [-m MOBANFILE]
83+
84+ Yet another jinja2 cli command for static text generation
85+
86+ optional arguments:
87+ -h, --help show this help message and exit
88+ -cd CONFIGURATION_DIR, --configuration_dir CONFIGURATION_DIR
89+ the directory for configuration file lookup
90+ -c CONFIGURATION, --configuration CONFIGURATION
91+ the dictionary file
92+ -td [TEMPLATE_DIR [TEMPLATE_DIR ...]], --template_dir [TEMPLATE_DIR [TEMPLATE_DIR ...]]
93+ the directories for template file lookup
94+ -t TEMPLATE, --template TEMPLATE
95+ the template file
96+ -o OUTPUT, --output OUTPUT
97+ the output file
98+ --template_type TEMPLATE_TYPE
99+ the template type, default is jinja2
100+ -f force moban to template all files despite of
101+ .moban.hashes
102+ -m MOBANFILE, --mobanfile MOBANFILE
103+ custom moban file
104+
106105
107106exit codes
108107--------------------------------------------------------------------------------
@@ -111,7 +110,7 @@ exit codes
111110- 1 : has changes
112111- 2 : error occured
113112
114- Special Filters
113+ Built-in Filters
115114================================================================================
116115
117116split_length
@@ -152,3 +151,16 @@ Here is Grammar in the changelog.yml::
152151
153152More details can be found in `moban's changelog.yml <https://github.com/moremoban/moban/blob/master/.moban.cd/changelog.yml#L10 >`_
154153
154+ `repr `
155+ --------------------------------------------------------------------------------
156+
157+ Returns a single quoted string in the templated file
158+
159+
160+ Built-in Tests
161+ ================================================================================
162+
163+ `exists `
164+ --------------------------------------------------------------------------------
165+
166+ Test if a file exists or not
0 commit comments