Skip to content

Commit

Permalink
chore: rm conflict aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
Bean committed Nov 17, 2023
1 parent b413cf3 commit dbc86fc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ func main() {
},
{
Name: "clone",
Aliases: []string{"c"},
Usage: "git clone repo to template",
Action: func(cCtx *cli.Context) error {
clone := exec.Command("git", "clone", cCtx.Args().First(), config.TemplatePath)
Expand All @@ -140,23 +139,13 @@ func main() {
},
{
Name: "pull",
Aliases: []string{"p"},
Usage: "git pull repo to template",
Action: func(cCtx *cli.Context) error {
pull := exec.Command("git", "-C", config.TemplatePath, "pull")
pull.Stdout = os.Stdout
return pull.Run()
},
},
{
Name: "git",
Usage: "git clone repo to template",
Action: func(cCtx *cli.Context) error {
pull := exec.Command("git", "-C", config.TemplatePath, "pull")
pull.Stdout = os.Stdout
return pull.Run()
},
},
{
Name: "config",
Aliases: []string{"c"},
Expand Down

0 comments on commit dbc86fc

Please sign in to comment.