mirror of
https://github.com/daveberrys/guh.git
synced 2026-11-29 00:56:45 +08:00
implement everything stable, account switching feature
This commit is contained in:
1 parent
3e87fa0d53
commit
f2508d0bc8
11 files changed
+292
-79
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/daveberrys/guh/src/utils"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func init() {
|
||||
rootCmd.AddCommand(diffCmd)
|
||||
}
|
||||
|
||||
var diffCmd = &cobra.Command{
|
||||
Use: "diff",
|
||||
Short: "Show working tree changes",
|
||||
Args: cobra.NoArgs,
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return utils.RunGitSequence([]string{"diff"})
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user