wycomco / kimai-cli

CLI for Kimai

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Kimai Command Line Interface (CLI)

🔥 A command line interface for the Kimai time tracking software.

asciicast

Installation

You can install kimai-cli through Homebrew.

brew tap wycomco/kimai-cli
brew install kimai-cli

You can now use the kimai command in your shell. Before first use you need to run

kimai configure

This will prompt you for your kimai URL (e.g. https://kimai.your-site.com) and your login credentials. These credentials will only be used to retrieve your api key from the Kimai backend. They will not be stored anywhere.

Updating

You can update the cli like any other brew tap:

brew update
brew upgrade kimai-cli

Autocompletion

For zsh, put this into your .zshrc

autoload bashcompinit
bashcompinit
eval "$(_KIMAI_COMPLETE=source kimai)"

If you're using bash you can leave out the first two lines and simply put this into your .bashrc

eval "$(_KIMAI_COMPLETE=source kimai)"

About

CLI for Kimai

License:MIT License


Languages

Language:Python 98.8%Language:Shell 0.8%Language:Makefile 0.4%