You can download the newest build via and move the file to /usr/local/bin/otcli
or use for linux:
curl https://api.github.com/repos/your-overtime/cli/releases/latest | grep otcli_linux | grep -v 'arm\|name' | awk -F'"' '{print$4}' | wget -i - && sudo mv otcli_linux /usr/local/bin/otcli && chmod ugo+rwx /usr/local/bin/otcli
The otcli
needs the following configuration file, which can be generated with otcli conf init
.
{
"Host": "https://your-overtime.de",
"Token": "token secretGeneratedToken",
"DefaultActivityDesc": "Coding"
}