1.0.4 • Published 6 years ago
tsnippet v1.0.4
template-code-generator
It helps you to create and clone your existing code template.
All of this code templates will store inside your home directory.
Install
$ npm install -g tsnippetUsage
To see available templates use
$ tcg listIt will produce the following result
$ tcg list
1 Active templates
MM/DD/YYYY, HH:MM:SS .html -
$To generate a code snippet
$ tcg index.htmlIt will generate simple HTML code snippet in your current directory
You can add your own code snippet To set a default template, use "_" character as a filename
$ tcg use index.jsxand access it using
$ tcg App.jsx --index