go-timecard

module
v0.0.0-...-d368890 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2016 License: MIT

README

go-timecard

Circle CI Code Climate

A simple timecard tool written in Go.

Installation

go get github.com/wfleming/go-timecard/punch

Usage

To start working on something:

punch in my-fun-project

To stop working on something:

punch out

When you want to see how much time you've been spending on things:

punch summary

When you want to see your times in a spreadsheet:

punch summary --csv > time-report.csv

FAQ

  1. Why?

    Mostly because I wanted an excuse to dig into Go a bit more. But also because I wanted a simple time tracking tool I could use from my Terminal (since that's usually where I am anyway), and none of the existing tools were quite what I wanted.

    That said, this is just a side project, mostly done as a learning exercise. Future support/development should not be expected. Caveat emptor and all that.

  2. I want syncing of my time across computers

    mkdir ~/Dropbox/.punch && ln -s ~/Dropbox/.punch ~/.punch

    Boom.

  3. I want to filter projects I'm looking at in the summary view

    grep my-fun-project ~/.punch/entries.log | punch summary

  4. I want to see only recent dates in my summary view

    tail -20 ~/.punch/entries.log | punch summary

  5. You didn't answer my question

    Well, nobody actually asked me any questions, I was just making them up. File an issue or a pull request, if you feel the urge. Or message me on Twitter.

Directories

Path Synopsis
The punch binary is the CLI interface for the timecard package
The punch binary is the CLI interface for the timecard package
Functions for dealing with a punchcard-log formatted stream (file, pipe) A punchcard-log stream consists of lines with the following format: project name 2006-01-02T15:04:05Z07:00 2006-01-02T16:30:05Z07:00 The lines are tab-separated values: their meanings, in order, are: 1.
Functions for dealing with a punchcard-log formatted stream (file, pipe) A punchcard-log stream consists of lines with the following format: project name 2006-01-02T15:04:05Z07:00 2006-01-02T16:30:05Z07:00 The lines are tab-separated values: their meanings, in order, are: 1.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL