carmel / work-stats

command line based job timing tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

work-stats

Command Line Based Job Timing Tool.

build

go build

Note: Fixed yaml configuration file is stats.yaml in the current directory

command usage

# get online
stats up
# get offline
stats down
# export as csv by year and month
stats out
# aggregate the record by year and month
stats
# list the record by year and month
stats ls

args usage

Usage of ./stats:
  -m int
     stats month (default current month)
  -y int
     stats year (default current year)

configuration

db: sqlite3_db_path
project: project_name
cursor: current_up_id

list

Project Year Month Up Down
cornerstone 2023 10 1698466065 1698466107
cornerstone 2023 10 1698465826 1698466057

aggregate

Project Year Month Hours
cornerstone 2023 10 5.00

About

command line based job timing tool.

License:GNU General Public License v3.0


Languages

Language:Go 100.0%