arcli - Awesome Redmine CLI

Overview

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

    opened by gyhor 6
  • 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.

    opened by bougui 4
  • `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.

    ╭─[email protected] ~/git/arcli ‹master*› 
    ╰─$ ./arcli login                 
    Hostname (dishwasher): my-redmine.hostname.com
    Username: piotr.borowski                                                 
    Password:                           
    You have successfully logged in!
    ╭─[email protected] ~/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!

    opened by pjboro 4
  • 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.

    opened by Cronos87 1
  • 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.

    opened by nemanjaSokic 1
  • 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

    opened by Cronos87 0
  • 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!

    opened by Cronos87 0
  • 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

    opened by Cronos87 3
Releases(v0.3.10)
Owner
Matija Pevec
Software Engineer
Matija Pevec
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

Gopass 5k 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

Elm 4 Jan 8, 2022
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

Aniruddha Chattopadhyay 0 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

许嘉华 0 Dec 21, 2021
Symfony-cli - The Symfony CLI tool For Golang

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

Symfony CLI 394 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

Dipto Chakrabarty 2 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

Leonardo Brombilla Antunes 0 Jan 2, 2022
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

Develatio 2 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 par

Maxym 0 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.

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

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

Aleksandr Baryshnikov 16 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.

Katz 1 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

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

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

Qwiri 0 Feb 8, 2022
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

akrck02 1 Feb 14, 2022
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

王仕晋 678 Dec 23, 2022
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

Lea Anthony 148 Jan 1, 2023
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

hz 116 Oct 28, 2022