Skip to main content

Command line interface for Redmine

Project description

Redmine CLI Build Status Coverage Status

Installation

$ pip3 install --user redminecli

Configuration

The client looks for the config in three places: ~/.redmine.conf, ~/.redmine/redmine.conf and ~/.config/redmine/redmine.conf.

[accounts]
default=account1

[account1]
url=https://account1.example.com
key=KEY

[account2]
url=https://account2.example.com
key=KEY
ssl_verify=False

[aliases]
...

Aliases

You can define aliases for issue filtering all commands:

[aliases]
wip = issues --status 2
blocked = issues --status 7
in_progress = update --status 2

Usage

Usage: redmine [OPTIONS] COMMAND [ARGS]...

Options:
  --force / --no-force  Invalidate cache  [default: False]
  --account TEXT        Account name to use
  -h, --help            Show this message and exit.

Commands:
  create   Create new issue
  issues   List issues
  list     List various resources
  open     Open issue in browser
  project  Project commands
  show     Show issue details
  update   Update issue
  version  Print version

Create a new issue

$ redmine create \
    --status 1 \
    --tracker 1 \
    --project 88 \
    --priority 3 \
    --subject "Fix json output" \
    --description "json output doesn't work for specific issue numbers"

For more options see redmine create --help.

Update an issue

$ redmine update 107873 --assignee 112

For more options see redmine update --help.

Filter issues

$ redmine issues --assignee 112 --project 88

For more options see redmine issues --help.

See specific issues row by row

$ redmine issues 107873 109789

JSON Output

$ redmine issues --assignee 112 --json
$ redmine issues 107873 109789 --json

Show issue details

$ redmine show 107873

This will open issue details in less.

See project roadmap

$ redmine project 88 roadmap

List users

$ redmine list user

Multi account

# This will use the default account in the redmine.conf
$ redmine issues --assignee 112

# This will use account2
$ redmine --account account2 issues --assignee 2194

Contributing

Currently, project's roadmap is dictated by my needs at work. If you need a feature or encountered a bug please open an issue. If you're OK to invest time in this project all PR's are welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

redminecli-1.3.0.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

redminecli-1.3.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

Details for the file redminecli-1.3.0.tar.gz.

File metadata

  • Download URL: redminecli-1.3.0.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for redminecli-1.3.0.tar.gz
Algorithm Hash digest
SHA256 9047d36ce60cbbc5fd8d403e7db0a30322255281988d9150fe1d76ea81e73b9c
MD5 207ac54e39489e33364a2b927d5c2130
BLAKE2b-256 dc5f4f686f36bb005592388798c583f40805715e3d9ff8121ac5257a79d4255e

See more details on using hashes here.

File details

Details for the file redminecli-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: redminecli-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 29.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.5

File hashes

Hashes for redminecli-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ce5163c87c29ede5c41de1e0d4c809c091adc77bcf185313b17b6f470901ed22
MD5 f0b1d1455e3226f0f6a9071aeb839ecf
BLAKE2b-256 18940a9e96d23c9770162dccba1d310f7b1ac1923601aeae03e04b6017dd116d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page