utility tool the generates code files from user-defined templates
Project description
py-templater
About this Project
Python utility tool that generates code files from user-defined templates. Save files/directories and user-defined templates, and load them on the fly whenever you need access to your boilerplate templates.
Getting Started
Prerequisites
You will need typer
and rich
in order to use py-templater
. These should install as dependencies by default.
pip install py-templater typer rich
⚠️ Warning
py-templater
only works on Linux and macOS machines
Usage
py-templater on master
╰─ templater --help
Usage: templater [OPTIONS] COMMAND [ARGS]...
Options
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or customize the installation.
--help Show this message and exit.
Commands
add Add a new template
gen Generates file(s) from templates
list List current current templates
rm Delete a template
add
Usage: templater add [OPTIONS] NAME PATH
Arguments
name template name
path path to original file/directory
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
py-templater-0.1.0.tar.gz
(3.7 kB
view hashes)
Built Distribution
Close
Hashes for py_templater-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3baa5db577211e8cd82a242ce09c30deba8d7f516582ab61f123d905f153501f |
|
MD5 | 1cad0e0dafca0f6b828e440f6607e051 |
|
BLAKE2b-256 | 709a33a93195bb167ea0945d4ff7268b1508db9ffa3b69d714ac0dad2e29028e |