Skip to main content

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 template
  • template_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


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)

Uploaded Source

Built Distribution

pursuit_newproject-0.1.1-py3-none-any.whl (17.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page