Skip to content

andytom/tmpltr

Repository files navigation

tmpltr

Build Status codecov Go Report Card

Overview

A command line tool to create files and directories from a template.

Features

  • Single Binary - No dependencies to install just a single binary to add to your PATH and run
  • Powerful Templates - Templates are written in the powerful Golang Template language and sprig functions
  • Template Paths and Contents - You can template both the path and the content of files
  • Simple Interactive UI - Easy to use UI based on AlecAivazis/survey

Getting Started

Install

Download the pre-compiled binary for your OS from the release page and copy it into a directory in your PATH.

Usage

You can use the built in help to list the usage:

tmpltr help

Writing Templates

See Writing a Template for a guide to write a template.

There are example templates in the examples directory.

Getting Involved

Spotted a Bug? Need a Features?

If you notice a bug or have a feature suggestion please create an issue in github.

Contributing

If you want to help contribute please see CONTRIBUTING.md for more information on requirements for PRs and other useful information.

About

A command line tool to create files and directories from a template.

Resources

License

Stars

Watchers

Forks

Packages

No packages published