Description: Create templates and save them in repository, create files and directories from that template
| TagTemplate | Args | Description |
|---|---|---|
| {{{SomePlaceholder}}} | Text | Replacing tag with text |
| [[[SomeCondition]]] | Boolean | Including text between tags, if enabled |
| !!!sArray!!! | Number (size) | Repeating text between tags value(sArray) times |
| !!!sArray.xSubArray!!! | Number (size) | Repeating text between tags value(sArray) * value(xSubArray) times |
| {{{sArray.Placeholder}}} | Text | Replacing tag with text value(sArray) times |
| [[[sArray.Cond]]] | Boolean | Including text between tags, if enabled value(sArray) times |
| {{{sArray.xSubArray.SubPlaceholder}}} | Text | Replacing tag with text value(sArray) * value(xSubArray) times |
| Command | Description |
|---|---|
create name path |
Create formatted files from template recursively |
init name path |
Initialize template configuratioin at given path |
validate path |
Validate template at given path |
save path |
Save template from given path in repository |
remove name |
Remove template from repository |
| list | List all templates stored in repository |
- Parsing configuration
- Parsing metadata from each file in template
- Parsing args from CLI input and configuration default values
- Formatter: Array tag support
- Formatter: Placeholder tag support
- Formatter: Conditions tag support
- Formatter: Infinite array members support (Array/SubArray/SubSubArray tags)
- Templates repository
- Default values from configuration
- Prompts for values from configuration
- Formatting files by their name. Example: !!!Models!!! will be created
value(Models)times, or {{{}}} - Remote template repository's