Files
iris-context/commands/git/git_quick_stats.go
T
VERSE ebde9ba68f refactor(commands): separate commands and its core into two folders (#32)
- I think it would be better if one for commands only, one for the spec
handling core logic so people won't be confused by the core logic inside
the commands folder (cleaner I guess)
- Regen docs
2026-07-05 11:27:30 +07:00

34 lines
1.8 KiB
Go

package git
import (
"github.com/versenilvis/iris/spec"
)
func init() {
spec.Register(&spec.Spec{
Name: "git-quick-stats",
Description: "Show help for git-quick-stats",
Options: []spec.Option{
{Name: "--help", Description: "Show help for git-quick-stats"},
{Name: "--suggest-reviewers", Description: "Show the best people to contact to review code"},
{Name: "--detailed-git-stats", Description: "Give a detailed list of git stats"},
{Name: "---git-stats-by-branch", Description: "Show detailed list of git stats by branch"},
{Name: "--changelogs", Description: "Show changelogs"},
{Name: "--changelogs-by-author", Description: "Show changelogs by author"},
{Name: "--my-daily-stats", Description: "Show your current daily stats"},
{Name: "--json-output", Description: "Save git log as a JSON formatted file to a specified area"},
{Name: "--branch-tree", Description: "Show an ASCII graph of the git repo branch history"},
{Name: "--branches-by-date", Description: "Show branches by date"},
{Name: "--contributors", Description: "See a list of everyone who contributed to the repo"},
{Name: "--commits-per-author", Description: "Displays a list of commits per author"},
{Name: "--commits-per-day", Description: "Displays a list of commits per day"},
{Name: "--commits-by-month", Description: "Displays a list of commits per month"},
{Name: "--commits-by-year", Description: "Displays a list of commits per year"},
{Name: "--commits-by-weekday", Description: "Displays a list of commits per weekday"},
{Name: "--commits-by-hour", Description: "Displays a list of commits per hour"},
{Name: "--commits-by-author-by-hour", Description: "Displays a list of commits per hour by author"},
{Name: "--commits-by-timezone", Description: "Displays a list of commits per timezone"},
},
})
}