Add shortcuts

Signed-off-by: jolheiser <john.olheiser@gmail.com>
pull/7/head
jolheiser 2021-02-27 23:03:43 -06:00
parent ba9333a076
commit f9d94d76de
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
5 changed files with 14 additions and 10 deletions

View File

@ -16,6 +16,7 @@ import (
var Add = cli.Command{
Name: "add",
Aliases: []string{"a"},
Usage: "Add a package",
Flags: []cli.Flag{
&cli.BoolFlag{

View File

@ -16,6 +16,7 @@ import (
var Get = cli.Command{
Name: "get",
Aliases: []string{"g"},
Usage: "Get package(s)",
Action: doGet,
}

View File

@ -10,7 +10,7 @@ import (
var List = cli.Command{
Name: "list",
Aliases: []string{"l"},
Aliases: []string{"ls", "l"},
Usage: "List local packages",
Action: doList,
}

View File

@ -15,6 +15,7 @@ import (
var Server = cli.Command{
Name: "server",
Aliases: []string{"web"},
Usage: "Start the gpm server",
Flags: []cli.Flag{
&cli.IntFlag{

View File

@ -14,6 +14,7 @@ import (
var Update = cli.Command{
Name: "update",
Aliases: []string{"u"},
Usage: "Update a package",
Flags: []cli.Flag{
&cli.BoolFlag{