All Projects → quantumew → mustache-cli

quantumew / mustache-cli

Licence: MIT license
Command line interface to mustache template engine in Go.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to mustache-cli

Pihole Kubernetes
PiHole on kubernetes
Stars: ✭ 180 (+350%)
Mutual labels:  mustache
Stubble
Trimmed down {{mustache}} templates in .NET
Stars: ✭ 247 (+517.5%)
Mutual labels:  mustache
hesperides
Configuration management tool providing universal text file templating and properties editing through a REST API or a webapp (backend part)
Stars: ✭ 35 (-12.5%)
Mutual labels:  mustache
Micromustache
Ⓜ An extremely fast and small sub-implementation of the {{mustache}} template engine for JavaScript
Stars: ✭ 186 (+365%)
Mutual labels:  mustache
Hydro Serving
MLOps Platform
Stars: ✭ 213 (+432.5%)
Mutual labels:  mustache
Statik
Multi-purpose static web site generator aimed at developers.
Stars: ✭ 249 (+522.5%)
Mutual labels:  mustache
Ramhorns
Fast Mustache template engine implementation in pure Rust.
Stars: ✭ 172 (+330%)
Mutual labels:  mustache
samples
A collection of sample dashboards, custom labels, mustaches, SQL scripts and PowerShell scripts to help you get the most out of SquaredUp. #community-powered
Stars: ✭ 17 (-57.5%)
Mutual labels:  mustache
Chevron
A Python implementation of mustache
Stars: ✭ 223 (+457.5%)
Mutual labels:  mustache
abap mustache
Mustache template engine for ABAP
Stars: ✭ 14 (-65%)
Mutual labels:  mustache
Milk
Milk is Mustache in CoffeeScript -- great with your browser or NodeJS!
Stars: ✭ 192 (+380%)
Mutual labels:  mustache
Charts
Stars: ✭ 206 (+415%)
Mutual labels:  mustache
VueXcode
Syntax highlighting for .Vue components and .mustache templates in Xcode
Stars: ✭ 25 (-37.5%)
Mutual labels:  mustache
Swagger Codegen Generators
Stars: ✭ 184 (+360%)
Mutual labels:  mustache
php-mustache
Mustache PHP Extension
Stars: ✭ 55 (+37.5%)
Mutual labels:  mustache
Inlets Pro
Secure TCP and HTTP tunnels that work anywhere
Stars: ✭ 179 (+347.5%)
Mutual labels:  mustache
Mustache
Mustache text templates for modern C++
Stars: ✭ 248 (+520%)
Mutual labels:  mustache
gogoAST
The simplest tool to parse/transform/generate code on ast
Stars: ✭ 29 (-27.5%)
Mutual labels:  mustache
ocaml-mustache
mustache.js logic-less templates in OCaml
Stars: ✭ 74 (+85%)
Mutual labels:  mustache
dssg
A static site generator with a different approach
Stars: ✭ 15 (-62.5%)
Mutual labels:  mustache

Mustache Cli

DEPRECATED cbroglie/mustache, now has a CLI wrapper of its own.

Command line interface to mustache template engine in Go. Basically a simple CLI wrapper for cbroglie/mustache. Works with YAML and JSON. Data can be piped in via stdin or passed in as a file name via an option.

See examples directory for a more in depth example of using JSON, YAML, and stdin.

Build of latest release.

Usage

mustache [<data-file>] <template-path>
mustache <template-path>

Examples

# Basic template usage
mustache data.json template.mustache

# Pull variables from environment
mustache ENV template.mustache

# Pull variables from environment with overrides. This will merge starting with env vars.
# Think of order as priority.
mustache ENV template.mustache --override data.json --override data1.json

# get base data from stdin
cat data-source.json | mustache template.mustache

Arguments

<data-file>      Path to data file. ENV is a special identifier to use environment variables.

<template-path>  Path to template file.

Options

-h --help            Show help message.
-o --override <file> Override data files. Overrides will be done in order.

See also: EXAMPLES

Build

If you need a build not in releases, you can either request it or build it yourself. Here is how you build it.

go get github.com/quantumew/mustache-cli
cd "$GOPATH/src/github.com/quantumew/mustache-cli"
make
mv mustache <in your path somewhere>
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].