https://github.com/cern/dtrack-cli
A command line interface client for Dependency Track
https://github.com/cern/dtrack-cli
Last synced: 4 months ago
JSON representation
A command line interface client for Dependency Track
- Host: GitHub
- URL: https://github.com/cern/dtrack-cli
- Owner: CERN
- Created: 2023-07-05T15:26:39.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-06T07:25:58.000Z (almost 3 years ago)
- Last Synced: 2025-06-27T20:39:57.759Z (12 months ago)
- Size: 79.1 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README

Dependency Track Bash / ZSH client
==================================
An OpenApi codegen-generated client for [Dependency Track](https://dependencytrack.org/) in Bash / ZSH.
## How to use
```bash
export DTRACK_HOST=https://your.dtrack.host
export DTRACK_APIKEY=yourApiKey
dtrack getVersion
```
## How to develop
Use the provided Gradle wrapper to generate the code :
```bash
./gradlew openApiGenerate
```
You can then go to ``build/generated`` to build the Docker image :
```bash
docker build -t dtrack-cli .
```
and run it :
```bash
docker run -it dtrack-cli
```
## Development Roadmap
* Integrate image building in Gradle with the JIB plugin
* Customize container image to add extra tooling (e.g. JQ)