touchy

module
v0.0.0-...-1e17736 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2023 License: GPL-3.0

README

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

Directories

Path Synopsis
cmd
internal
api
ui

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL