Skip to content
Time logging in CLI
Go Other
  1. Go 98.0%
  2. Other 2.0%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows
cli
doc
scripts
timelog
ui
.gitignore
.tool-versions
LICENSE
Makefile
README.md
TODO
go.mod
go.sum
main.go
main_test.go

README.md

timelog

LICENSE Language Go Report Card Last commit

Time logging in CLI.

Usage

Print current timelog

timelog

timelog

Start next task

timelog start <comment>

Stop current task

timelog stop

Clear

timelog clear
  1. Current timelog will be printed.
  2. Once confirmed local database will be cleared ⚠️.

Adjust time

timelog adjust
  1. Console UI will start (use arrows or hjkl).
  2. Enter to continue.
  3. After changes you will see git-like diff to accept/reject changes.

timelog timelog

Configuration

Install autocompleter (bash + fzf using complete)

Tested only in Ubuntu (PR appreciated for other OSes)

timelog autocomplete install >> ~/.bash_profile
timelog [hit TAB]

timelog

Quicklist

Quicklist is a data source for autocompleter (fzf). Tasks should not contain whitespaces.

vim ~/.config/timelog/config.ini
[quicklist]
task-1
task-2
task-3
hello
task start [hit TAB]

timelog

How to contribute?

Ask first before any implementation. Possible todos:

  • rich analytics (i.e. per entry) timelog stats
  • edit comments timelog edit (similar to timelog adjust editor)
  • quicklist management from CLI ie. timelog qlist.add ENTRY
  • multi-autocomplete i.e timelog start [TAB], then timelog start autocompleted-1 [TAB] <- currently this will replace autocompleted-1 with new qlist entry, goal is to append next one
  • autocomplete for other OSes (OSx integration anyone?)
You can’t perform that action at this time.