mantiscli

command
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 30, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

Install

go get github.com/tgulacsi/mantis-soap/cmd/mantiscli

Usage

mantiscli --mantis=https://my.mantis.host issue get 3

$ mantiscli --help
usage: mantiscli [<flags>] <command> [<args> ...]

Mantis Command-Line Interface

Flags:
      --help            Show context-sensitive help (also try --help-long and --help-man).
      --mantis=MANTIS   Mantis URL
  -u, --user="$USER"  Mantis user name
      --password-env="MC_PASSWORD"
                        Environment variable's name for the password
      --config="/home/$USER/.config/mantiscli.json"
                        config file with the stored password

Commands:
  help [<command>...]
    Show help.

  issue exists [<issueid>...]
    check the existence of issues

  issue get [<issueid>...]
    get

  issue monitors [<issueid>...]
    get monitors

  issue addmonitor [<issueid>] [<plus_monitors>...]
    add monitor

  issue attach [<issueid>] [<file>]
    attach a file to the issue

  issue attachments [<issueid>]
    list attachments

  issue download [<issueid>]
    download attachemnts of the issue

  attachment add [<issueid>] [<file>]
    add attachment

  attachment list* [<issueid>]
    list attachments

  attachment download [<issueid>]
    download attachments

  monitor list* [<issueid>]
    list monitors

  monitor add [<issueid>] [<plus_monitors>...]
    add monitor

  note add* [<issueid>] [<text>...]
    add a note to an issue

  project list*
    list projects

  users list* [<flags>] [<project>]
    list users

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL