Skip to main content

Redmine Cli

This is a small command-line utility to interact with Redmine

https://travis-ci.org/yanjost/redmine-cli.svg?branch=master

Installation

I suggest you create a virtualenv

Then just use pip or easy_install.

pip install redmine-cli

or

easy_install redmine-cli

Usage

You have to configure the application by getting a REST API key for your Redmine user

Then edit the configuration file in your home directory ( ~/.redmine-cli )

[default]
key=YOUR_REDMINE_REST_API_KEY
my_id=YOUR_REDMINE_USER_ID
root_url=YOUR_REDMINE_ROOT_URL_WITH_PROTOCOL
#change to false if you don't want to verify SSL certificates. default is true
verify_ssl=true

Example values

[default]
key=c7461a8ed1e4c27b76ce3bec0c0f06f4
my_id=44
root_url=https://redmine.mycompany.com

Command-line syntax

usage: redmine [-h] [--key APIKEY] [--debug] [--root-url ROOT_URL]
               [--user-id USER_ID] [--version]
               {query,issues,open,issue} ...

positional arguments:
  {query,issues,open,issue}
    query               run a saved query by id
    issues              show my issues
    open                open an issue in default browser
    issue               show details on an issue

optional arguments:
  -h, --help            show this help message and exit
  --key APIKEY          set API key
  --debug               write received data in debug.json
  --root-url ROOT_URL   root url of Redmine instance
  --user-id USER_ID     your Redmine user id
  --version             show program's version number and exit

Sample output

+------+----------+-------------+---------------------------+
|  ID  | PRIORITY |    STATUS   |    TITLE                  |
+------+----------+-------------+---------------------------+
| 6534 |   High   | In Progress | Issue 1                   |
| 4081 |  Normal  |   Feedback  | Issue 2                   |
+------+----------+-------------+---------------------------+

Bugs, feature requests, etc…

Please use Github’s issue tracker : https://github.com/yanjost/redmine-cli/issues

Metadata

Release files for Redmine-CLI 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Redmine-CLI 0.0.5
File Size Uploaded
Redmine-CLI-0.0.5.tar.gz 5.0 kB Details

Release files / Redmine-CLI-0.0.5.tar.gz

Download URL Redmine-CLI-0.0.5.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4093385fbbdb571516a8006ad66faf6dd8ceab039c715fb0b4531a8c5ceda3c7
BLAKE2b-256 checksum
How to use checksums
cf66c30207b1c5a533f343a6b2aa2ca72b9d47d4ee83661f68a610353af2140f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.5 This release

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page