Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

extra: dojo CLI#48

Merged
fopina merged 38 commits into
mainfrom
dev/cli
Mar 20, 2026
Merged

extra: dojo CLI#48
fopina merged 38 commits into
mainfrom
dev/cli

Conversation

@fopina

@fopina fopina commented Mar 16, 2026

Copy link
Copy Markdown
Owner

Introduce a basic CLI (as an extra) for quick scripted uses of the API

uv run dojo       
Usage: dojo [OPTIONS] COMMAND [ARGS]...

  DefectDojo CLI

Options:
  --config PATH        Path to the configuration file  [default:
                       (/Users/fopina/Library/Application Support/defectdojo-
                       cli/config.toml)]
  -e, --env TEXT       Environment to use for the command (as many can be
                       specified in config.toml)
  -h, --host TEXT      DefectDojo server host  [env var: DEFECTDOJO_HOST]
  -t, --token TEXT     DefectDojo API token - if provided, --user/--password
                       are ignored  [env var: DEFECTDOJO_TOKEN]
  -u, --user TEXT      DefectDojo API username  [env var: DEFECTDOJO_USER]
  -p, --password TEXT  DefectDojo API password  [env var: DEFECTDOJO_PASSWORD]
  --disable-tls        Disable TLS verification in DefectDojo API requests
  --debug-http         Log HTTP requests and responses
  --version            Show the version and exit.
  --help               Show this message and exit.

Commands:
  api  Interact directly with any API/method

Fixes #38

@fopina fopina merged commit 84eb0eb into main Mar 20, 2026
6 checks passed
@fopina fopina deleted the dev/cli branch March 20, 2026 13:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add simple CLI with extra dependency support

2 participants