Skip to content

lx-wnk/wib

Repository files navigation

Test CodeFactor codecov

wib

just a simple time tracking tool

Installation

npm i -g wib

Update

npm update -g wib

Possible usage

  1. Start your day with wib hi. This will set the start time for every calculation
  2. Track your work logs with wib track KEY-123 MESSAGE-123. The duration will be calculated automatically.
  3. Add some notes by execution wib note Think about the moon. The notes will show up in the list
  4. You may end your day with wib bye
  5. To view all of your data simply execute wib list

Commands

Specific usage can be viewed by adding -h or --help after any command

Click to open the list command Usage: wib list|l [options]

Possible Options:

  • -d, --day <day> List a specific date
  • -m, --month <month> Date from specific month
  • -y, --yesterday List yesterday
  • -f, --full List the full data (unshortened)
  • -o, --order <key> Order by (time, key, value, id) (default: "time")
Click to open the note command Usage: wib note|n [options]

Possible Options:

  • -e, --edit <key> Edit a specified note
  • -d, --delete <key> Delete a specified note
Click to open the rest command Usage: wib rest|b [options]

Possible Options:

  • -t, --time <hour:minute> Create a rest with specified time
  • -e, --edit <key> Change the rest ending to now or by -t to a specified time
Click to open the start command Usage: wib start|hi [options]
Click to open the stop command Usage: wib stop|bye [options]
Click to open the track command Usage: wib track|t [options]

Possible Options:

  • -d, --delete <key> Delete a specified work log
  • -e, --edit <key> Edit a specified work log
  • -t, --time <hour:minute> Specify the finish time

Configuration

Place the configuration inside your home directory inside the folder .wib so that the full path would look like ~/.wib/config.json

For better results, you should only adjust the formatting that you really need