Skip to content

Latest commit

 

History

History
55 lines (34 loc) · 1.19 KB

README.md

File metadata and controls

55 lines (34 loc) · 1.19 KB

Description

Creates a file based upon a programming language template. Essentially touch but with added powers.

Example Terminal Output

Example Terminal Output

Commands

All commands take a programming language and the template name as arguments for the most part. In most cases the template name can be omitted.

Create

Creates a new file based on a template. The example below creates a file based on the default 'go' language template.

touchy create go

You can also provide a template name after the language name to create a specific template:

touchy create go main

List

List all available programming languages and/or templates of a programming language. The example below lists all programming languages.

touchy list all

To get a list of a programming languages templates use the following command example

touchy list go

Show

Displays the colorized contents of a template to the terminal. Example that will show the contents of the default go template

touchy show go

You can also provide a template name after the language name to show a specific template

touchy show go main