2020-02-19 05:18:36 +00:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
import (
|
2020-02-19 05:39:54 +00:00
|
|
|
"gitea.com/gpm/gpm/modules/config"
|
2020-02-19 05:18:36 +00:00
|
|
|
"github.com/urfave/cli/v2"
|
|
|
|
)
|
|
|
|
|
|
|
|
var Flags = []cli.Flag{
|
|
|
|
&cli.StringFlag{
|
|
|
|
Name: "url",
|
|
|
|
Aliases: []string{"u"},
|
2020-02-19 05:39:54 +00:00
|
|
|
Usage: "gpm server to use",
|
2020-02-19 05:18:36 +00:00
|
|
|
Value: config.GPMURL,
|
|
|
|
},
|
|
|
|
}
|