free

Pricing for this item
Logo - Peter Gyetvai

Peter Gyetvai

Freelancer, Revit specialist, also do some frontend

Screenshots
Click to enlarge
[1]
Cross platform command line client for Kimai2
Last update: 27 Jul 2019

Command line client for Kimai2

interactive start gif

Features

This client is not intended to replace the Kimai webUI, so only basic functions

Commands:

  • Start, restart and stop measurements
  • List active and recent measurements
  • List projects and activities

UI:

  • Interactive terminal UI with autocomplete
  • Classic terminal UI for integration

Integration:

  • Portable executable for all three platforms
  • Installer for windows
  • Generate output for Argos/Kargos/Bitbar (Gnome, Kde, Mac). More info here: kimai2-cmd-argos

Requests for integrations with other softwares are welcomed! Just open an issue and show an example output, what you need.

Download and install

Download from Github releases

Available platforms:

  • Linux
  • Mac
  • Windows portable
  • Windows installer

More info on project readme

Usage

Interactive UI

interactive restart gif

If you start without any commands, you will get to the interactive UI. Use your keyboard’s arrow keys for navigation. On the Start new measurement menu item you can search for project and activity names.

You can exit with ctrl+c any time.

Classic UI

You can find all the options in the help:

$ kimai2-cmd --help

Usage: kimai2-cmd [options] [command]

Command line client for Kimai2. For interactive mode start without any commands. To generate settings file start in interactive mode!

Options:
  -V, --version               output the version number
  -v, --verbose               verbose, longer logging
  -i, --id                    show id of elements when listing
  -b, --argosbutton           argos/bitbar button output
  -a, --argos                 argos/bitbar output
  -h, --help                  output usage information

Commands:
  start [project] [activity]  start selected project and activity
  restart [id]                restart selected measurement
  stop [id]                   stop all or selected measurement measurements, [id] is optional
  list-active                 list active measurements
  list-recent                 list recent measurements
  list-projects               list all projects
  list-activities             list all activities
  url                         prints the url of the server

All items by Peter Gyetvai