diff --git a/cmd/add.go b/cmd/add.go index 5055ce1..8e6cd0a 100644 --- a/cmd/add.go +++ b/cmd/add.go @@ -15,8 +15,9 @@ import ( ) var Add = cli.Command{ - Name: "add", - Usage: "Add a package", + Name: "add", + Aliases: []string{"a"}, + Usage: "Add a package", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "force", diff --git a/cmd/get.go b/cmd/get.go index 0e360c9..ba6e39e 100644 --- a/cmd/get.go +++ b/cmd/get.go @@ -15,9 +15,10 @@ import ( ) var Get = cli.Command{ - Name: "get", - Usage: "Get package(s)", - Action: doGet, + Name: "get", + Aliases: []string{"g"}, + Usage: "Get package(s)", + Action: doGet, } func doGet(ctx *cli.Context) error { diff --git a/cmd/list.go b/cmd/list.go index f4a299a..9d53d85 100644 --- a/cmd/list.go +++ b/cmd/list.go @@ -10,7 +10,7 @@ import ( var List = cli.Command{ Name: "list", - Aliases: []string{"l"}, + Aliases: []string{"ls", "l"}, Usage: "List local packages", Action: doList, } diff --git a/cmd/server.go b/cmd/server.go index 4a20032..9931fbc 100644 --- a/cmd/server.go +++ b/cmd/server.go @@ -14,8 +14,9 @@ import ( ) var Server = cli.Command{ - Name: "server", - Usage: "Start the gpm server", + Name: "server", + Aliases: []string{"web"}, + Usage: "Start the gpm server", Flags: []cli.Flag{ &cli.IntFlag{ Name: "port", diff --git a/cmd/update.go b/cmd/update.go index eb65e4f..690e235 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -13,8 +13,9 @@ import ( ) var Update = cli.Command{ - Name: "update", - Usage: "Update a package", + Name: "update", + Aliases: []string{"u"}, + Usage: "Update a package", Flags: []cli.Flag{ &cli.BoolFlag{ Name: "local",