Giter VIP home page Giter VIP logo

visoma-cli's Introduction

visoma-cli

A CLI utility for interacting with Visoma.

Getting started

  1. Download and unpack the latest binary release for your platform:

  2. Open a terminal and run the program.

$ ./visoma-cli --help      # Linux
$ .\visoma-cli.exe --help  # Windows

Features

Creating new tickets

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.

Changelog

All notable changes will be documented here.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.2.2] - 2024-07-10

Changed

  • Improve error messages.

[0.2.1] - 2024-07-02

Added

  • More useful error messages.

[0.2.0] - 2024-07-01

Added

  • Optional argument --arranger-id to the ticket new command for assigning the ticket to a user other than the creator of the ticket.

[0.1.0] - 2024-06-28

Initial release.

Contributing

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

License

Copyright © 2024 Andreas Longo

GNU General Public License v3.0 or later

visoma-cli's People

Contributors

andreaslongo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.