arcli - Awesome Redmine CLI

arcli

Go Report Card arcli

arcli - Awesome Redmine CLI

arcli is CLI for Redmine that simplifies some actions such as checking for issue details and tracking time. It supports Redmine v3.3.1+ (tested with v3.3.1 and v4.1.0).

Quick examples

Listing (ls) all assigned issues (i) to current user.

➜  ~ arcli i ls  
    ID  PROJECT           SUBJECT                   URL                                       
 20123  Webshop           Managing users            https://custom.url.com/issues/20123 
 20660  Webshop Android   Notification management   https://custom.url.com/issues/20460 

Log spent time (l) for issue (i) with ID 20123 with time duration (-t) of 1.5 hours.

➜  ~ arcli l i 20123 -t 1.5
Time entry created!
 ENTRY ID  PROJECT NAME  ISSUE ID  HOURS  ACTIVITY     COMMENT  SPENT ON        
 39458     Webshop       20123     1.5    programming           Thu, 2020-03-12 

Show tracking time status.

➜  ~ arcli status
[324] John Doe ([email protected])
PERIOD       HOURS   H/LOG   # of I   # of P  
Today        0       0       0        0       
Yesterday    0       0       0        0       
This Week    0       0       0        0       
Last Week    40      6.7     3        2       
This Month   40      6.7     3        2       
Last Month   160     5.5     8        6 

Installation

macOS

$ brew tap mightymatth/arcli https://github.com/mightymatth/arcli
$ brew install arcli

Linux

Get it from the Snap Store

snap install arcli

Usage

➜  ~ arcli -h
Awesome Redmine CLI. Wrapper around Redmine API

Usage:
  arcli [flags]
  arcli [command]

Available Commands:
  aliases     Words that can be used instead of issue or project ids
  defaults    User session defaults
  help        Help about any command
  issues      Shows issue details
  log         Time entries on projects and issues
  login       Authenticate to Redmine server
  logout      Logout current user
  projects    Shows project details
  search      Search Redmine
  status      Overall account info

Flags:
  -h, --help      help for arcli
  -v, --version   Current arcli and supported Redmine API version

Use "arcli [command] --help" for more information about a command.
Owner
Matija Pevec
Software Engineer
Matija Pevec
Comments
  • Allow self signed certificate

    Allow self signed certificate

    Login is not possible, if certificate is self signed

    User response: Get https://username:***@xxxxxxx/users/current.json: x509: certificate signed by unknown authority

  • issue state modification

    issue state modification

    Hello,

    your arcli tool is great to do some issue search or time log, will you try to add more option so that we can close some issue based on some filters ?

    Best regards, Guillaume.

  • `login` succeeds, `status` fails

    `login` succeeds, `status` fails

    Hi.

    I've just build and tried arcli and I have some troubles. I'm not sure what's wrong.

    ╭─pjb@dishwasher ~/git/arcli ‹master*› 
    ╰─$ ./arcli login                 
    Hostname (dishwasher): my-redmine.hostname.com
    Username: piotr.borowski                                                 
    Password:                           
    You have successfully logged in!
    ╭─pjb@dishwasher ~/git/arcli ‹master*› 
    ╰─$ ./arcli status
    Cannot fetch user.
    PERIOD       HOURS   H/LOG   # of I   # of P  
    Today        ERR
    Yesterday    ERR
    This Week    ERR
    Last Week    ERR
    This Month   ERR
    Last Month   ERR
    Failed to get status: cannot get period data (lw): Get https://dishwasher/time_entries.json?spent_on=lw&user_id=me&limit=200: dial tcp [fe80::42:5
    0ff:fef4:5643%docker0]:443: connect: connection refused
    

    If I understand correctly it tries to send a get request to localhost (Failed to get status: cannot get period data (lw): Get https://MY_HOSTNAME). Have you experienced similar issues? It's really strange, because previous request, the login, works just fine.

    Regards!

  • Generate shells auto completion

    Generate shells auto completion

    Hello!

    Is it possible to generate shells auto completion?

    This would be a great addition 😊

    Thank you!

    Edit: Done here https://github.com/mightymatth/arcli/pull/11.

  • Added new command, getting issues for only logged user.

    Added new command, getting issues for only logged user.

    This app is something I already have been started to implement by mysefl, and I have found arcli as something I wanted to done in my app. So, I am glad to find arcli. Thank you. I would like to continue develop arcli if it is ok to you.

  • Add a calendar view to time entries

    Add a calendar view to time entries

    This calendar view allow to see the selected month total hours logged by days.

    Can be used using the following commands:

    Current month: arcli log calendar Selecting a month: arcli log calendar -m "2019-12"

    Here is how it looks like:

    CleanShot 2021-11-08 at 17 33 45@2x

  • Filter projects by status

    Filter projects by status

    Hello!

    When I run arcli projects, by default it will show all projects. It would be great to show only opened projects and add a flag to show all of them.

    Thank you!

  • Add a calendar view to time entries

    Add a calendar view to time entries

    This calendar view allow to see the selected month total hours logged by days.

    Can be used using the following commands:

    Current month: arcli log calendar Selecting a month: arcli log calendar -m "2019-12"

    Here is how it looks like:

    CleanShot 2021-11-08 at 17 33 45@2x

The slightly more awesome standard unix password manager for teams
The slightly more awesome standard unix password manager for teams

gopass Introduction gopass is a password manager for the command line written in Go. It supports all major operating systems (Linux, MacOS, BSD) as we

Jan 4, 2023
Elegant CLI wrapper for kubeseal CLI

Overview This is a wrapper CLI ofkubeseal CLI, specifically the raw mode. If you just need to encrypt your secret on RAW mode, this CLI will be the ea

Jan 8, 2022
CLI to run a docker image with R. CLI built using cobra library in go.
CLI  to run a docker image with R. CLI built using cobra library in go.

BlueBeak Installation Guide Task 1: Building the CLI The directory structure looks like Fastest process: 1)cd into bbtools 2)cd into bbtools/bin 3)I h

Dec 20, 2021
A wrapper of aliyun-cli subcommand alidns, run aliyun-cli in Declarative mode.

aliyun-dns A wrapper of aliyun-cli subcommand alidns, run aliyun-cli in Declarative mode. Installation Install aliyun-cli. Usage $ aliyun-dns -h A wra

Dec 21, 2021
Symfony-cli - The Symfony CLI tool For Golang

Symfony CLI Install To install Symfony CLI, please download the appropriate vers

Dec 28, 2022
Go-file-downloader-ftctl - A file downloader cli built using golang. Makes use of cobra for building the cli and go concurrent feature to download files.

ftctl This is a file downloader cli written in Golang which uses the concurrent feature of go to download files. The cli is built using cobra. How to

Jan 2, 2022
Cli-algorithm - A cli program with A&DS in go!

cli-algorithm Objectives The objective of this cli is to implement 4 basic algorithms to sort arrays been Merge Sort Insertion Sort Bubble Sort Quick

Jan 2, 2022
Nebulant-cli - Nebulant's CLI
Nebulant-cli - Nebulant's CLI

Nebulant CLI Website: https://nebulant.io Documentation: https://nebulant.io/docs.html The Nebulant CLI tool is a single binary that can be used as a

Jan 11, 2022
News-parser-cli - Simple CLI which allows you to receive news depending on the parameters passed to it
News-parser-cli - Simple CLI which allows you to receive news depending on the parameters passed to it

news-parser-cli Simple CLI which allows you to receive news depending on the par

Jan 4, 2022
Go-api-cli - Small CLI to fetch data from an API sync and async

Async API Cli CLI to fetch data on "todos" from a given API in a number of ways.

Jan 13, 2022
Syno-cli - Synology unofficial API CLI and library

Synology CLI Unofficial wrapper over Synology API in Go. Focus on administrative

Jan 6, 2023
Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Nebula Diagnosis CLI Tool is an information diagnosis cli tool for the nebula service and the node to which the service belongs.

Jan 12, 2022
bcrypt-cli is the CLI tool for hashing passwords with bcrypt.

bcrypt-cli bcrypt-cli is the CLI tool for hashing passwords with bcrypt. Install go install github.com/ryicoh/bcrypt-cli Usage It can be used like bas

Jan 9, 2023
Gobby-cli - CLI application to debug gobby applications

go(bby) Interactive debugging tool for gobby applications Usage Coming soon™ Ins

Feb 8, 2022
GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework
GTDF-CLI - The official CLI tool to operate with Getting Things Done Framework

This is the official CLI tool to operate with Getting Things Done Framework. How

Feb 14, 2022
CLI - A package for building command line app with go
CLI - A package for building command line app with go

Command line interface Screenshot Key features Lightweight and easy to use. Defines flag by tag, e.g. flag name(short or/and long), description, defau

Dec 23, 2022
A Simple and Clear CLI library. Dependency free.
A Simple and Clear CLI library. Dependency free.

A Simple and Clear CLI library. Dependency free. Features Nested Subcommands Uses the standard library flag package Auto-generated help Custom banners

Jan 1, 2023
Golang library with POSIX-compliant command-line UI (CLI) and Hierarchical-configuration. Better substitute for stdlib flag.
Golang library with POSIX-compliant command-line UI (CLI) and Hierarchical-configuration. Better substitute for stdlib flag.

cmdr cmdr is a POSIX-compliant, command-line UI (CLI) library in Golang. It is a getopt-like parser of command-line options, be compatible with the ge

Oct 28, 2022