1.0.0 • Published 7 years ago

tempx v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
7 years ago

Description

This is a simple command line tool using node.js to allow templates to be applied when creating files of a given filetype.

Installation

Install node, which can vary depending on your operating system.

Then run: npm install --global tempx

Usage

Run commands using the format tempx argument1 argument2 To create a new file and apply a template, simply run 'tempx filename.extension'

list

lists your current templates

template

Allows you to edit your template for a filetype, and creates a new one if you do not currently have one. The filetype must be specified in the following argument.

delete

Deletes the template of the specified filetype.

Examples

tempx list: lists templates

tempx template html: allows you to edit the html template

tempx delete html: will delete your current html template

tempx hello.py: will create a python file with the python template applied