This is a README file generated by templify.
templify is a command line tool that helps you manage your project templates.
To learn more about templify, please visit templify.philipp-bonin.com.
When you can see this file, you have already initialized templify in this project. You can now create your own templates and generate new files from them.
To create a new template, you can use the following command:
tpy new <template-name>This will create a new folder in the .templates folder with the given name. You can now add files to this folder that will be used to generate new files from this template.
Inside the folder you will also find a .templify.yml file. This file is used by templify to generate new files from this template. Please open and read the file to learn more about how to use it.
You can also load templates from a GitHub repository into your project:
tpy load <url>The url should point to a folder inside a GitHub repository. Each folder inside there will be imported as a template in your .templates. See the templify-vault for more informations.
To list all templates, you can use the following command:
tpy listTo generate a new file from a template, you can use the following command:
tpy generate <template-name> <given-name>This will create a new file from the given template in the current project folder with the given name.
$$$year$$: The current year$$$month$$: The current month$$$month-name$$: The current month as name$$$day$$: The current day$$$git-name$$: The name of the git user
Case conversion is used to convert placeholders to different case styles. You can use them by adding a . and the case style to a placeholder that supports case conversion.
Example: $$name.kebab$$
You can use the following case conversion:
$$<placeholder>.lower$$: Lower case (e.g.mycomponent)$$<placeholder>.upper$$: Upper case (e.g.MYCOMPONENT)$$<placeholder>.camel$$: Camel case (e.g.myComponent)$$<placeholder>.snake$$: Snake case (e.g.my_component)$$<placeholder>.kebab$$: Kebab case (e.g.my-component)$$<placeholder>.pascal$$: Pascal case (e.g.MyComponent)$$<placeholder>.macro$$: Macro case (e.g.MY_COMPONENT)$$<placeholder>.train$$: Train case (e.g.My-Component)
by Philipp B.
