gosubst

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: MIT Imports: 4 Imported by: 0

README

go-subst

Features

Support env, must_env, and json_escape.

Installation

Download binary from GitHub releases.

or

go install github.com/ToshihitoKon/go-subst

Usage

export SOME_ENV=env-value
cat template | go-subst > output-file

Examples

Lisence

This project is licensed under the MIT License, see the LICENSE and CREDITS files for details.

Motivation

Inspired by and using kayac/go-config as a package.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CLI

type CLI struct {
	// contains filtered or unexported fields
}

func (*CLI) Run

func (c *CLI) Run() error

Directories

Path Synopsis
cmd
go-subst command

Jump to

Keyboard shortcuts

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