mirror of
https://github.com/safedep/pmg.git
synced 2026-08-03 07:24:09 +02:00
16 lines
336 B
Go
16 lines
336 B
Go
package proxy
|
|||
|
|
|
||
|
|
import "github.com/spf13/cobra"
|
||
|
|
|
||
|
|
func NewProxyCommand() *cobra.Command {
|
||
|
|
cmd := &cobra.Command{
|
||
|
|
Use: "proxy",
|
||
|
|
Short: "Manage the persistent PMG proxy server",
|
||
|
|
}
|
||
|
|
cmd.AddCommand(newStartCommand())
|
||
|
|
cmd.AddCommand(newStopCommand())
|
||
|
|
cmd.AddCommand(newEnvCommand())
|
||
|
|
cmd.AddCommand(newStatusCommand())
|
||
|
|
return cmd
|
||
|
|
}
|