parser

Introduction
parser is the parser of pipebuild written in Go.
Prerequisites
Run
version=latest make build
./bin/parser --config-file="$PWD"/test/config/config.yml --input-path=/path/to/input-path --output-file=/path/to/output-file
Docker
version=latest make docker
docker run -v "$PWD"/test:/tmp ghcr.io/pipebuild/parser:latest --config-file=/tmp/config/config.yml --input-path=/path/to/input-path --output-file=/path/to/output-file
Usage
usage: parser --config-file=CONFIG-FILE --input-path=INPUT-PATH --output-file=OUTPUT-FILE [<flags>]
pipebuild parser
Flags:
--[no-]help Show context-sensitive help (also try --help-long
and --help-man).
--[no-]version Show application version.
--config-file=CONFIG-FILE Config file (.yml)
--input-path=INPUT-PATH Input path
--output-file=OUTPUT-FILE Output file (.json)
Settings
parser parameters can be set in the directory config.
An example of configuration in config.yml:
apiVersion: v1
kind: parser
metadata:
name: parser
spec:
lang:
- groovy
License
Project License can be found here.
Reference