Skip to content

Commit

Permalink
Rename push -> install
Browse files Browse the repository at this point in the history
  • Loading branch information
anagrius committed Nov 22, 2018
1 parent f252369 commit 2776c3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion command/parser_push.go → command/parser_install.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"gopkg.in/yaml.v2"
)

func ParserPush(c *cli.Context) error {
func ParserInstall(c *cli.Context) error {
config, _ := getServerConfig(c)

ensureToken(config)
Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func main() {
},
},
{
Name: "push",
Name: "install",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "name",
Expand All @@ -129,7 +129,7 @@ func main() {
Usage: "If a parser exists with the same name update it.",
},
},
Action: command.ParserPush,
Action: command.ParserInstall,
},
{
Name: "remove",
Expand Down

0 comments on commit 2776c3a

Please sign in to comment.