stencil

command module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

stencil

Stencil is a tool for taking pre-created project templates, and creating the project using the user's configuration.

Create a project using a template

Example:

stencil github.com/Chris-Greaves/stencil-template-test

Enter the overrides you want, or just keep pressing 'Enter' till it gets to the building of the project.

How to get it

You can get pre-compiled binaries from the Release section on GitHub.

However, if you want to build for a specific OS / Arch, or just want to build the source code on your own machine. Run the following commands:

go get github.com/Chris-Greaves/stencil
cd $GOPATH/src/github.com/Chris-Greaves/stencil
go install

Download and run source for contribution

First, pull down the repo:

git clone github.com/Chris-Greaves/stencil

Then use go to download the dependencies and build the cli tool

go get
go build

Test it by using the resulting executable:

# Example based on Windows
stencil.exe example-templates\basic-example

Licence

Stencil is released under the Apache 2.0 license. See LICENSE

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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