GithubHelp home page GithubHelp logo

gaborbata / tt Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 9 KB

⏱️ simple time tracker app on the command-line

License: MIT License

Ruby 99.71% Batchfile 0.14% Shell 0.15%
cli hours productivity ruby time tracker tracking work jira

tt's Introduction

tt tests Gem Version

⏱️ simple time tracker app on the command-line

Usage:
  tt [command]              execute the given command
  tt [activity] [message]   start tracking time of a given activity, with an optional message

Commands:
  rep|report                show report for the last 7 days, grouped by activity
  ls|list [filter]          list the last 20 entries
  break   [message]         start break activity
  stop    [message]         stop tracking time of the current activity
  edit                      edit entries in text editor
  active                    list active jira issues
  upload  [from day offset] upload worklog for jira issues (default offset = 0, which means only today)

To work with Jira, please provide JIRA_API_USER, JIRA_API_TOKEN, JIRA_API_HOST environment variables.
To create an API token please visit: https://id.atlassian.com/manage-profile/security/api-tokens

An activity is considered a Jira ticket if matches the /\w+-\d+/ pattern.

time-tracker.csv file stores time entries which is saved into the $HOME folder of the current user.

How to install

gem install time-tracker-cli

Requirements

  • Ruby 2.6 or newer, or JRuby
  • nano - for editing entries in text editor

Most of the console applications support ANSI/VT100 escape sequences by default, however you might need to enable that in order to have proper colorized output.

tt's People

Contributors

gaborbata avatar

Watchers

 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.