parser

command module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

README

parser

Build Status codecov Go Report Card License Tag

Introduction

parser is the parser of pipebuild written in Go.

Prerequisites

  • Go >= 1.18.0

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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