Coder Social home page Coder Social logo

today's Introduction

today

GitHub go.mod Go version GitHub release (latest by date)

View your commit history across multiple directories, ideal for daily standup.

Easily view the work that you have done for the day, or longer, leveraging the power of git tracking one or more repositories. This tool is simple to use and requires no extra setup, it simply utilises an pre-existing workflow that you are already familiar with.

This works best when paired with clear and concise commit messages. A great example of this is conventional commits.

Install

The easiest way to install is through the go command.

go install github.com/jdockerty/today@latest # or tag/ref: @v0.1.X, @HEAD, etc.

Or by downloading a pre-compiled binary on the releases page.

Usage

Simply pass one or more directories that you wish to view the commits for.

today ./ # View the current directory

today work/api work/frontend work/new-important-serivce # You've been very busy

today --since 48h work/api # You missed standup yesterday

today --short work/fun-poc # Only display first line of the commit message

today --author "Jack" projects/backend-api # View commits with author name containing 'Jack'

You can always call today --help or today -h to view the default help at any time.

Flag Options

  • --author can be used to change which commits are displayed, based on a particular author.
    • The default is to display all authors.
    • This filter is done using strings.Contains. As such, multiple authors may be displayed depending on the value provided.
    • This allows you to filter for your own or someone else's commits.
  • --colour can be used to show a preset colourised output to the terminal. Directories which have no commits are shown in red, whilst others are highlighted in green.
    • The default is no colour.
  • --short can be used to display only the first line of a commit.
    • The default is to display the entire commit message.
    • Useful when commit messages are incredibly descriptive, spanning below the fold to explain the intention of a change.
    • This also has a side effect of reducing verbosity.
  • --since can be used to modify the time range.
    • The default is 12 hours, given in the format of 12h00m00s.
    • Valid time units must conform to time.ParseDuration.

today's People

Contributors

donovanhubbard avatar jdockerty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

donovanhubbard

today's Issues

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.