GithubHelp home page GithubHelp logo

hours's Introduction

hours

Super-simple hour-tracking CLI tool.

Demo:

λ ~/me/dev/hours ← nix-build
/nix/store/p4gzr2v1lbr8sbhvvivi50fx318lj9p7-hours
λ ~/me/dev/hours ← alias hours="./result/bin/hours"
λ ~/me/dev/hours ← hours topic new --name project-A
λ ~/me/dev/hours ← hours topic log --topic project-A --amount '3h 15m'
λ ~/me/dev/hours ← hours show

        Topic  │  Logged  │  Unbilled
  ─────────────┼──────────┼────────────
    project-A  │  3h 15m  │    3h 15m

λ ~/me/dev/hours ← hours session start -t project-A --comment 'starting work on project a'
λ ~/me/dev/hours ← # 1h 15m later
λ ~/me/dev/hours ← hours show

         Topic  │  Logged  │  Unbilled
  ──────────────┼──────────┼────────────
    project-A*  │  3h 15m  │    3h 15m

  * Active session on topic project-A (for 1h 15m)

λ ~/me/dev/hours ← hours session stop
λ ~/me/dev/hours ← hours show

        Topic  │  Logged  │  Unbilled
  ─────────────┼──────────┼────────────
    project-A  │  4h 30m  │    4h 30m

λ ~/me/dev/hours ← hours topic flush -t project-A
λ ~/me/dev/hours ← hours show

        Topic  │  Logged  │  Unbilled
  ─────────────┼──────────┼────────────
    project-A  │  4h 30m  │     0h 0m

hours's People

Contributors

quelklef avatar ursi avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

ursi

hours's Issues

support negative time quantities

e.g. hours topic log -t <topic> -a '-15m'

Use-case, as per Mason: "oops, I haven't really been on task for the past little bit; deduct"

incompatibility with pure eval mode

quote,

uhhhhh hours uses gitignoreSource which is not pure-eval-mode compatible after approx nix >=2.10 due to gitignoreSource reading ~/.gitconfig

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.