0.0.1 • Published 11 years ago
toucht v0.0.1
toucht
Create a file from a template or update file headers.
Install
npm install -g touchtUsage
toucht [filename]toucht will create a file from a template for a given language.
To create a javascript file toucht a file with a .js file extension.
toucht file.jsSpecify a language if there is no file extension or if you want to use a different template than the file extension.
toucht -l js fileOR
toucht -l javascript fileIf the file alread exists toucht will update the date in the comment header of the file.
toucht file.jsUse a template that you created yourself
toucht -t template_file fileTo add this template file as a permenant template
toucht --config template add your_lang template_fileTo add a short name update your template.
toucht --config template update your_lang --short-name yl0.0.1
11 years ago