Skip to content

hliimatta/absn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

absn

Small command line tool for absence.io time tracker.

This project is under development and may contain errors. Feel free to submit issues and Pull Requests.

Installation

make install

Configuration

Add .absn.json file to your homedirectory and add your absence.io api credentials:

{
  "id" : [YOUR API_ID],
  "key": [YOUR API_KEY]
}

Usage

$ absn -h

  Usage: absn [options] [command]
  
  Options:
    -h, --help  output usage information
  
  Commands:
    w           start/switch to work
    b           start/switch to break
    s           stop
$ absn
Working since 14.06.2023 18:00 - 0h 43m (0h 0m)
$ absn w
Working since 14.06.2023 18.00
$ absn b
On a break since 14.06.2023 18:00 - 0h 43m (0h 0m)
$ absn s
Last: 14.06.2023 - 1h 20m - Total: 1h 20m (0h 0m)

License

The MIT License

Copyright (c) 2023 Harri Liimatta

About

Small command line tool for absence.io time tracker.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published