Command line tools for support personal development
template-cli init RandomCaseStringTemplate 1.0.0
template-cli publish
specific the version
template-cli use RandomCaseStringTemplate 1.0.0
the latest version
template-cli use RandomCaseStringTemplate
template-cli remove RandomCaseStringTemplate
template-cli upgrade RandomCaseStringTemplate
We using a vocabulary to expose the template to consumer. It's divide to 2 kind of vocabulary
- Template vocabulary
- used for expose a template code
- Consumer template vocabulary
- used for how to consumer the template vocabulary
Copy is a general process to copy folder array into target
- make sure you should define the target path from consumer side
The tempalte code may has some dependencies, by gradle, maven, cocoa-pod, or other dependency system.
Which means you should define the dependency system in template_define.yml
, then consumer could know how to add the dependencies into its source code.