Skip to content

Commit 59efc9b

Browse files
authored
Add praise as alias for blame command (#73)
1 parent 27180ce commit 59efc9b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

cmd/blame.go

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ import (
1111

1212
func addBlameCmd(parent *cobra.Command) {
1313
blameCmd := &cobra.Command{
14-
Use: "blame",
15-
Short: "Show who added each dependency",
16-
Long: `Show the commit and author that first added each current dependency.`,
17-
RunE: runBlame,
14+
Use: "blame",
15+
Aliases: []string{"praise"},
16+
Short: "Show who added each dependency",
17+
Long: `Show the commit and author that first added each current dependency.`,
18+
RunE: runBlame,
1819
}
1920

2021
blameCmd.Flags().StringP("branch", "b", "", "Branch to query (default: first tracked branch)")

0 commit comments

Comments
 (0)