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.0.tar.gz
(16.2 kB
view hashes)
Built Distribution
Close
Hashes for pursuit_newproject-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30670dd959e54100325011015313d8d01c9d93834194bb8ea7d332f259712acd |
|
MD5 | 9d72d71e141eac183b0fa34f897bd6c4 |
|
BLAKE2b-256 | 0b3fa4a5357f12d656e12e88eab919c1a3f7a73b4b2d03a7e2fa43e9e08ef1c6 |