Skip to content
/ flik Public

Blue Ant CLI client on zsh steroids

License

MIT, BSD-2-Clause licenses found

Licenses found

MIT
LICENSE
BSD-2-Clause
LICENSE_fastentrypoints
Notifications You must be signed in to change notification settings

rsteube/flik

Repository files navigation

flik

Build Status

flik is a command line client for Proventis Blue Ant. It provides basic time tracking functionalities using dynamic zsh command completion.

demo

Install

Install using pip:

pip install git+https://github.com/rsteube/flik

Add completion plugin using zgen or similar:

zgen load rsteube/flik

Or extend fpath manually:

#~/.zshrc
#
#zstyle ':completion:*' menu select
fpath+=($(flik completion))
autoload -U compinit && compinit

Windows

curl -sSL https://bootstrap.pypa.io/get-pip.py | python
pip install git+https://github.com/rsteube/flik
sed -i '1ifpath+=($(flik completion))\' ~/.zshrc

First use

  • flik login (config stored in ~/.config/flik/config.yml and password using the available keyring)
  • flik sync (updates cache in ~/.local/share/flik)

Limiting/blacklisting completion options

In case that you have more projects, tasks or activities assigned than you need for time tracking you can simply remove the corresponding entries from the cache files in ~/.local/share/flik. Note that you have to redo this step after updating the cache using flik sync.

Demo

docker-compose run flik
flik# flik login
flik# flik sync
flik# flik list