touchy

module
v0.0.0-...-57aebca Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2026 License: GPL-3.0

README

Description

Creates a file based upon a programming language template. Essentially touch but with added powers. Custom scripting is available using the Lua programming language.

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

To get a list of scripts use the following command example

touchy list scripts

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

Run

Runs a script. The example below runs the default test script.

touchy run test

Again you can get a list of scripts using the following command:

touchy list scripts

Note that the API is not yet stablized and will be documented once it is.

Directories

Path Synopsis
cmd
touchy command
internal
api
ui

Jump to

Keyboard shortcuts

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