#shift #date #cli-tool #time #date-time #month #shifts

bin+lib shifty

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

8 releases

new 0.1.7 May 1, 2024
0.1.6 Apr 24, 2024

#1393 in Command line utilities

Download history 392/week @ 2024-04-15 141/week @ 2024-04-22

533 downloads per month

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
~137K SLoC