Skip to content

Releases: subchen/frep

Version 1.3.3

19 Mar 09:01
Compare
Choose a tag to compare
  • [New] support console as input/output if file is -
echo "{{ .Env.Path }}" | frep -

Version 1.3.2

06 Feb 04:02
Compare
Choose a tag to compare
  • [Fixes] remove value quotes in -e name="value"

Version 1.3.1

20 Jan 08:04
Compare
Choose a tag to compare
  • Fixes fileSize func

Version 1.3.0

20 Jan 07:30
Compare
Choose a tag to compare
  • Update Masterminds/sprig to v2.14.1
  • Add more funcs:
    • toJson
    • toYaml
    • toToml
    • fileSize
    • fileLastModified
    • fileGetBytes
    • fileGetString

Version 1.2.2

22 Dec 08:20
Compare
Choose a tag to compare
  • [Add] Using .Env variable for os.env

Version 1.2.1

26 Jun 13:02
Compare
Choose a tag to compare
  • Update go-cli to 1.3.0
  • Uses travis to release binaries

Version 1.2.0

15 May 14:07
Compare
Choose a tag to compare
  • [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

30 Nov 14:04
Compare
Choose a tag to compare

Using https://github.com/Masterminds/sprig as build-in functions for go-template
Thanks @kevpie

Version 1.0.1

19 Jul 14:05
Compare
Choose a tag to compare
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

04 Jul 04:48
Compare
Choose a tag to compare
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