tent

command module
v0.0.0-...-38b9948 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 4 Imported by: 0

README

tent

Create files with a template.

Installation

go install codeberg.org/9yokuro/tent@latest

Usage

If you only want to create files:

tent foo ...

If you want to create files with parent directories created as needed:

tent -parents foo/bar/baz ...

If you want to create files with a template, create a template file in the templates directory ($XDG_CONFIG_HOME/tent/templates):

echo '#!/bin/sh' > "$XDG_CONFIG_HOME/tent/templates/sh"

and run the following:

tent -template sh foo ...

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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