Coder Social home page Coder Social logo

time_track_cli's Introduction

TimeTrack

A dead simple CLI time tracking tool.

How does it work

  • This program runs on the command line.
  • There are two types of entires in the database: projects and checkpoints.
  • A project has an automatically assigned ID that never changes, a long name and a short name.
  • A checkpoint has a timestamp, a message, and optionally an associated project ID.
  • All the program does is manipulate this simple .json database.

Getting started

  1. Place the program somewhere you can run it from.
    1. I recommend renaming it to something simple or creating an alias, I personally use tt.
  2. Add a project with tt add-project -l 'My long name' -s 'mln'
    1. The short name is what you're going to write to associate an checkpoint with that project.
    2. The long name is only used for printing.
    3. The long and short names can be changed later by manually editing the .json database file.
  3. When you start work, write tt add, this creates an empty checkpoint.
    1. An empty checkpoint is interpreted as "no work was done between the previous checkpoint and this checkpoint".
  4. When you've finished a chunk of work that you want to track, write tt add 'Message' 'shortname'.
    1. This will create a checkpoint at the current time with the given message and projects.
    2. Use -t HH:MM to specify another time.
  5. To see your tracked time today, write tt log.
    1. I use this command when I write my invoices to check how much time I've spent on different projects for a specific client. Write tt log --help for usage information.
  6. Edit an existing checkpoint with tt edit, it edits the most recent checkpoint by default.
    1. Write tt edit --help to check different ways to edit checkpoints.
    2. To edit further back in history, use tt log to list the checkpoint and use the number in the leftmost column to refer to the checkpoint. For instance tt log 2 -m 'My new message' will change the checkpoint before the previous one.
  7. Use tt help to for for more help.

time_track_cli's People

Contributors

lukors avatar

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.