Skip to content

Commit ceff6a4

Browse files
committed
feat: add git status subcommand and shortcut
1 parent 6035751 commit ceff6a4

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

internal/cmd/git.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ func newGitCmd(app *App) *cobra.Command {
2727
newGitOperationCmd(app, "commit"),
2828
newGitOperationCmd(app, "push"),
2929
newGitOperationCmd(app, "pull"),
30+
newGitOperationCmd(app, "status"),
3031
)
3132
return gitCmd
3233
}

internal/cmd/root.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ func NewRootCmd() *cobra.Command {
7777
newGitShortcutCmd(app, "commit"),
7878
newGitShortcutCmd(app, "push"),
7979
newGitShortcutCmd(app, "pull"),
80+
newGitShortcutCmd(app, "status"),
8081
newRepoCmd(app),
8182
newIssueCmd(app),
8283
newPRCmd(app),

0 commit comments

Comments
 (0)