https://github.com/stone/beerxml2any
Reads BeerXML files, parses and displays output via template
https://github.com/stone/beerxml2any
Last synced: about 1 year ago
JSON representation
Reads BeerXML files, parses and displays output via template
- Host: GitHub
- URL: https://github.com/stone/beerxml2any
- Owner: stone
- License: mit
- Created: 2015-12-15T09:09:32.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-15T09:33:11.000Z (over 10 years ago)
- Last Synced: 2023-03-12T09:07:29.370Z (over 3 years ago)
- Language: Go
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://drone.io/github.com/stone/beerxml2any/latest)
## Usage:
$ beerxml2any -help
Usage of ./beerxml2any:
-bxml string
BeerXML input file
-tmpl string
Template file
$ beerxml2any -bxml recipe.xml -tmpl tmpl/beerxml.txt.tmpl
## Build/Get
$ go get github.com/stone/beerxml2any
You need the [go][] runtime,
## Templates
Using go text/template, see examples in tmpl/ directory.
- https://golang.org/pkg/text/template/#pkg-overview
[go]:http://golang.org/ "The Go Programming language"