Releases: subchen/frep
Releases · subchen/frep
Version 1.3.3
- [New] support console as input/output if file is
-
echo "{{ .Env.Path }}" | frep -
Version 1.3.2
- [Fixes] remove value quotes in
-e name="value"
Version 1.3.1
- Fixes
fileSize
func
Version 1.3.0
- Update
Masterminds/sprig
tov2.14.1
- Add more funcs:
- toJson
- toYaml
- toToml
- fileSize
- fileLastModified
- fileGetBytes
- fileGetString
Version 1.2.2
- [Add] Using
.Env
variable for os.env
Version 1.2.1
- Update
go-cli
to1.3.0
- Uses travis to release binaries
Version 1.2.0
- [New] Support to load *.toml file
- [Update] New CLI
github.com/subchen/go-cli
- [Update] New build script
- [Update] Using
--dryrun
insead of--testing
Downloads
Version 1.1.0
Using https://github.com/Masterminds/sprig as build-in functions for go-template
Thanks @kevpie
Version 1.0.1
Usage: frep [OPTIONS] input-file:[output-file] ...
or: frep [ --version | --help ]
Transform template file using environment, arguments, json/yaml files
Options:
-e, --env=[] set variable name=value, can be passed multiple times
--json=string load variables from json object
--load=[] load variables from json/yaml files
--overwrite overwrite if destination file exists
--testing test mode, output transform result to console
--delims={{:}} template tag delimiters
--version show version information
--help show this help
Version 1.0.0
Usage: frep [OPTIONS] input-file:[output-file] ...
or: frep [ --version | --help ]
Transform template file using environment, arguments, json/yaml files
Options:
-e, --env=value set variable name=value, can be passed multiple times
--json=string load variables from json object
--load=file load variables from json/yaml files
--overwrite overwrite if destination file exists
--testing test mode, output transform result to console
--delims={{:}} template tag delimiters
--version show version information
--help show this help