Skip to content

ktkennychow/whatdidido

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatdidido

A simple CLI tool to show you easy to read git commits history so you can tell your manager you are not slacking. Or you are just to lazy to memorize git flags.

Installation

go install github.com/ktkennychow/whatdidido@latest

Or build from source:

go build -o whatdidido

Usage

whatdidido check [--author=<name>] [--since=<time>]
whatdidido config [--author=<name>] [--since=<time>]

Flags

  • --author, -a Git author name (e.g., "johndoe")
  • --since, -s Time specification (e.g., "1 day ago", "midnight")

Running git log

Use the check command with optional flags to view commits.

Examples:

whatdidido check
whatdidido check --author johndoe
whatdidido check -a johndoe --since "1 day ago"
whatdidido check --since "1 day ago"
whatdidido check -s "1 day ago"

Configuration

Persistent configuration is stored in ~/.config/whatdidido/config.json.

Use the config command with flags to set or view configuration.

Examples:

whatdidido config                    # Show current config
whatdidido config --author johndoe  # Set author
whatdidido config --since "1 day ago"  # Set since

This runs: git log --since=<since> --author=<author> --no-merges --pretty=format:"%s"

About

what did i do?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages