#shift #time #date-time #command-line-tool #month #track #shifts

bin+lib shifty

A simple cli tool to keep track of your shifts at work

8 releases

0.1.7 May 1, 2024
0.1.6 Apr 24, 2024

#2125 in Command line utilities

MIT license

24KB
580 lines

Shity is a simple cli tool to keep track of your shifts at work.

Usage:

Add a shift:

// Adds a shift for today with the default length
shifty -a

// Adds a shift at the specified time and date with a 150% premium
shifty -a -t 4:00 -d 01/01/2024 -p 150

Remove a shift:

// Remove a shift on today's date if it exists
shifty -r

// Removes a shift at the specified date if it exists
shifty -r -d 01/01/2024

List shift for a specific month:

// List all shifts for this month
shifty -l

// List all shifts for specified month
shifty -l -d 01/2024

List all shifts:

shifty -L

Build a config file:

shifty -c

Dependencies

~4–15MB
~123K SLoC