Git Product home page Git Product logo

redmine-cli's Introduction

Redmine Cli

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

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

Supported python versions

Supported python versions are from 2.6 to 3.x

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,status} ...

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
    status              update an issue's status

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

redmine-cli's People

Contributors

yanjost avatar

Watchers

 avatar  avatar  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.