Support -c, --config optional config path option
CLI now supports the -c, --config
optional parameter (defaults to config.yaml
). This option is required when working with docker, e.g.:
# assume working dir contains a config.yaml
cd /path/to/working/dir && mkdir -p .integrations
docker run -it --rm -v $PWD/.integrations:/opt/jupiterone/starbase/.integrations -v $PWD/config.yaml:/tmp/config.yaml ghcr.io/jupiterone/starbase setup -c /tmp/config.yaml
docker run -it --rm -v $PWD/.integrations:/opt/jupiterone/starbase/.integrations -v $PWD/config.yaml:/tmp/config.yaml ghcr.io/jupiterone/starbase run -c /tmp/config.yaml