Skip to content

Commit

Permalink
Add basic README
Browse files Browse the repository at this point in the history
This required dropping the `trailing-whitespace` hook for `pre-commit`
as it conflicted with the markdown formatting one since that one wants
to ensure even empty lines in an indented block are indented
  • Loading branch information
matthewhughes-uw committed Nov 22, 2024
1 parent d3fa37d commit 22cf9ec
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
1 change: 0 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,4 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# `change-go-pkgs`

Get Go packages that changed between two Git versions, usage:

NAME:
changed-go-packages - Get the changed Go packages between two commits

USAGE:
changed-go-packages [global options] command [command options]

COMMANDS:
help, h Shows a list of commands or help for one command

GLOBAL OPTIONS:
--from-ref value
--to-ref value
--repo-dir value The Git repo to inspect (default: ".")
--mod-dir value Path to the directory containing go.mod. Used to find local packages (default: ".")
--log-level value The level to log at. Valid values are: debug, info, warn, error (default: WARN)
--help, -h show help

0 comments on commit 22cf9ec

Please sign in to comment.