Skip to content

CLI client for Murdock, written in Rust

License

Notifications You must be signed in to change notification settings

murdock-ng/murdock-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This repository contains a CLI tool for accessing the Murdock API.

murdock-cli is in very early stages. Feel free to help out!

Supported API calls

Currently, only the "delete jobs" API endpoint is exposed. More will follow soon! Feel free to contribute. ;)

Installation

Check out this repo, then install via

cargo install --path .

Alternatively, the latest released version can be installed from crates.io with

cargo install murdock-cli

Getting started

Create a Github personal access token with at least the "user.email" scope. Then, add a server configuration, e.g.,

murdock-cli servers add <some_name> https://server/url --token <your token> --default

Then you can use the API, e.g.,

murdock-cli jobs delete --age 30

Generated Openapi code

murdock-api has been generated with

openapi-generator-cli generate -i openapi.json -g rust --additional-properties library=reqwest,packageName=murdock-api -o murdock-api --skip-validate-spec

About

CLI client for Murdock, written in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published