A CLI utility for interacting with Visoma.
-
Download and unpack the latest binary release for your platform:
-
Open a terminal and run the program.
$ ./visoma-cli --help # Linux
$ .\visoma-cli.exe --help # Windows
Linux (Bash):
$ ./visoma-cli ticket new \
--dry-run \
--server visoma.example.com \
--user visoma_user \
--password 'visoma_password' \
--title 'New Ticket' \
--description 'A new ticket' \
--customer-id 1 \
--address-id 2
Windows (Powershell):
$ .\visoma-cli.exe ticket new `
--dry-run `
--server visoma.example.com `
--user visoma_user `
--password 'visoma_password' `
--title 'New Ticket' `
--description 'A new ticket' `
--customer-id 1 `
--address-id 2
Note
|
Use --arranger-id <user id> to assing the ticket to another (pool) user.
|
All notable changes will be documented here.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
The best way to get started is to build and run a local dev container.
You can use Podman or any other OCI compliant container manager. The dev container has all the required dependencies for working with the project.
$ container/build.sh
$ container/run.sh
From inside the container, you can then run some workflows.
$ cargo fmt && cargo clippy --all-targets # run code formatter and linter
$ cargo test # run tests
$ cargo doc # build the docs
$ cargo run # run the binary crate