This repository has been archived on 2023-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
ictmpl/README.md

41 lines
778 B
Markdown
Raw Permalink Normal View History

2018-06-10 10:11:22 +03:00
# About ictmpl
This script allows a create new project using a ready-made templates.
2018-06-11 08:44:39 +03:00
You can use template on local machine or repositories.
By default it looks for a name of template in the
[official repository](https://github.com/ictmpl)
2018-06-10 10:11:22 +03:00
# Installing
pip install ictmpl
or globally:
sudo -H pip install ictmpl
# Usage
2018-06-11 08:44:39 +03:00
## create
Create new project by template
`ictmpl create <project_path> <template_name>`
#### Params:
2018-06-11 08:47:19 +03:00
* **project_path** - Path to new project directory
* **template_name** - Name of template / link to git repository / local path
2018-06-10 10:11:22 +03:00
2018-06-11 08:44:39 +03:00
#### Examples:
`ictmpl create flaskproject flask-blank`
2018-06-10 10:11:22 +03:00
2018-06-11 08:44:39 +03:00
`ictmpl create myproject ../my-local-template/`
2018-06-10 10:11:22 +03:00
2018-06-11 08:44:39 +03:00
`ictmpl create /var/www/myproject https://github.com/ictmpl/flask-blank.git`
2018-06-10 10:11:22 +03:00