Project templater
Project description
New Project templater
This tool can be used to create a new project based on a project template, with the following syntax:
newproject <template path / Git URL> <project name> [output]
When the output isn't specified, the project name is used instead.
Installing
This tool can be installed with the following command:
pip install pursuit-newproject
Project manifest
The template must contain a project.yml
template with the following sections:
template_name
: The name of the project templatetemplate_files
: A list of files that will be treated as Jinja2 templates. These files can reference the project name using the{{ project_name }}
syntax.template_paths
: A list of files or directories that need to be moved to Jinja2-compatible paths
---
template_name: Template name
template_files:
- "templated_file"
template_paths:
"templated_dir": "{{ project_name }}"
License
This project is licensed under the GNU GPLv3 license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pursuit-newproject-0.1.1.tar.gz
(16.2 kB
view hashes)
Built Distribution
Close
Hashes for pursuit_newproject-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ede8185c184c231d9610532ae202090c826c8d61292dcc1755afefde02f4f8b |
|
MD5 | bb81b9712a3ca41874e39fb344b84ca3 |
|
BLAKE2b-256 | d7d180839d9e3f3d3845db1a32e7f46696924f88775e3eb3936abc4460027f86 |