1.0.7 • Published 4 years ago

gen-tem v1.0.7

Weekly downloads
8
License
MIT
Repository
github
Last release
4 years ago

Generate Script Template

Installation

npm install -g gen-tem

If you don't want to pollute your global package modules, you can certainly use the npx package runner to create templates but keep in mind that, that approach will be slower.

Usage

See available templates

gen-tem --available

or

gen-tem -a

Create a file from template

gen-tem <template-name> <my-file.extension>

Shortcut create a file from template

Use characters until only one template matches.

gen-tem <starting-chars-of-template-name> <my-file.extension>
gen-tem <starting-chars-of-template-name> <ending-chars> <my-file.extension>

Examples

Suppose python_cp is a name of a template.

gen-tem python_cp myFile.py
gen-tem py myFile.py
gen-tem py cp myFile.py
gen-tem py n_cp myFile.py

Want more templates?

I have only added template/s that I use often. If you want more templates, feel free to add them to this repository and they will be picked up by the gen-tem command.

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago