A tool to copy templated directories
Project description
cp-template
This is a very simple utility to generate directories based on templates.
Install
pip install cp-template
Usage
Suppose you have the following directory structure (Note: the {{}}s are part of the filenames)
{{project}}/
.gitignore
README.md # File contains "{{project}} by {{author}}"
{{project}}/
__init__.py
Then you can run the following command:
cp-template './{{project}}' project=pineapple author=me
And it will generate this in the current directory:
pineapple/
.gitignore
README.md # File contains "pineapple by me"
pineapple/
__init__.py
More features will be added as I need them, but feel free to make PRs to contribute some.
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
cp-template-0.2.0.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for cp_template-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d337ea45acf08518b130b71c7599c10db7ce4b2344b704bf96d8fbba772b9353 |
|
MD5 | 1efc99241b7149c8f381b0ea6a3602ac |
|
BLAKE2b-256 | 3254b24096c1136e0a21d7bc388b34bd8b7c75a6b361c6ac144dc443c2ae73e9 |