tmpltr

command module
v0.0.0-...-5b6c26d Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2017 License: MIT Imports: 2 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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