parent
ba9333a076
commit
f9d94d76de
|
@ -16,6 +16,7 @@ import (
|
||||||
|
|
||||||
var Add = cli.Command{
|
var Add = cli.Command{
|
||||||
Name: "add",
|
Name: "add",
|
||||||
|
Aliases: []string{"a"},
|
||||||
Usage: "Add a package",
|
Usage: "Add a package",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
|
|
|
@ -16,6 +16,7 @@ import (
|
||||||
|
|
||||||
var Get = cli.Command{
|
var Get = cli.Command{
|
||||||
Name: "get",
|
Name: "get",
|
||||||
|
Aliases: []string{"g"},
|
||||||
Usage: "Get package(s)",
|
Usage: "Get package(s)",
|
||||||
Action: doGet,
|
Action: doGet,
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
var List = cli.Command{
|
var List = cli.Command{
|
||||||
Name: "list",
|
Name: "list",
|
||||||
Aliases: []string{"l"},
|
Aliases: []string{"ls", "l"},
|
||||||
Usage: "List local packages",
|
Usage: "List local packages",
|
||||||
Action: doList,
|
Action: doList,
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@ import (
|
||||||
|
|
||||||
var Server = cli.Command{
|
var Server = cli.Command{
|
||||||
Name: "server",
|
Name: "server",
|
||||||
|
Aliases: []string{"web"},
|
||||||
Usage: "Start the gpm server",
|
Usage: "Start the gpm server",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.IntFlag{
|
&cli.IntFlag{
|
||||||
|
|
|
@ -14,6 +14,7 @@ import (
|
||||||
|
|
||||||
var Update = cli.Command{
|
var Update = cli.Command{
|
||||||
Name: "update",
|
Name: "update",
|
||||||
|
Aliases: []string{"u"},
|
||||||
Usage: "Update a package",
|
Usage: "Update a package",
|
||||||
Flags: []cli.Flag{
|
Flags: []cli.Flag{
|
||||||
&cli.BoolFlag{
|
&cli.BoolFlag{
|
||||||
|
|
Loading…
Reference in New Issue