Skip to content

sayampy/Template-Manager-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A cli Project

Installation

$ pip install templater-cli

Usages

Checking version

tmt -V | tmt --version

creating template

tmt new <template_name> <Dir Path| type:path; Default:current path>

$ ls
main.py
module
requirements.txt

$ tmt new mymodule ./module
/usr/module successfully Init as Template, "mymodule"

loading template

tmt load <[project_name | type:non-existing path]> <template_name>

$ ls myprojects

$ tmt load myprojects/new mymodule
template mymodule successfully loaded on myprojects/new dir
$ ls myprojects
new

show current available templates

tmt show

$ tmt show
python
mymodule

removing template

tmt remove <template_name> [--confirm -c [yes|no] | required: False]

$ tmt remove mymodule
Confirmation[yes/no]: yes
mymodule template successfully removed

Visit Urls