Git Product home page Git Product logo

watsongitwrapper's Introduction

A hacky wrapper (I build this mainly for my usage) for the awesome Watson time tracking CLI tool. I wanted that a tool which watches a git repository and changes the Watson tag based on the checked out branch. For this tool to work you need to install Watson and to create a config file in the directory ~/.config/watson/ and add following line:

[options]
stop_on_start=true

Additionally for this script to work you need to install PyInquirer

Usage

Run ./main.py to start the script. You will be prompted with following questions:

? What is the name of the project?  foo
? What is the path to the git repository?  /path/to/the/repo/
? What do you want to track? (Use arrow keys)
  ▶ Track repository
    Track only project 

When you select one of each you can change it by pressing ctrl + c. Then you get prompted again with:

? What do you want to track? (Use arrow keys)
  ▶ Track repository
    Track only project 

To quit the programm press ctrl + c again.

If you have any questions or problems feel free to open an issue.

watsongitwrapper's People

Contributors

lisiadito avatar

Watchers

 avatar  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.