cli
Introduction
cli is the CLI of pipego written in Go.
Prerequisites
Run
version=latest make build
./bin/cli --config-file="$PWD"/test/config/config.yml --runner-file="$PWD"/test/data/runner.json --scheduler-file="$PWD"/test/data/scheduler.json
Docker
version=latest make docker
docker run -v "$PWD"/test:/tmp ghcr.io/pipego/cli:latest --config-file=/tmp/config/config.yml --runner-file=/tmp/data/runner.json --scheduler-file=/tmp/data/scheduler.json
Usage
usage: cli --config-file=CONFIG-FILE --runner-file=RUNNER-FILE --scheduler-file=SCHEDULER-FILE [<flags>]
pipego cli
Flags:
--help Show context-sensitive help (also try --help-long and --help-man).
--version Show application version.
--config-file=CONFIG-FILE Config file (.yml)
--runner-file=RUNNER-FILE Runner file (.json)
--scheduler-file=SCHEDULER-FILE
Scheduler file (.json)
Settings
cli parameters can be set in the directory config.
An example of configuration in config.yml:
apiVersion: v1
kind: cli
metadata:
name: cli
spec:
runner:
host: 127.0.0.1
port: 29090
timeout: 300
scheduler:
host: 127.0.0.1
port: 28082
timeout: 300
License
Project License can be found here.
Reference