2018-11-19 21:36:21 +00:00
|
|
|
package remote
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
2019-02-17 17:23:59 +00:00
|
|
|
var cfg string
|
2018-11-19 21:36:21 +00:00
|
|
|
|
|
|
|
var remoteCmd = &cobra.Command{
|
|
|
|
Use: "remote",
|
2018-11-21 19:48:10 +00:00
|
|
|
Short: "Manage Remote Server",
|
2018-11-19 21:36:21 +00:00
|
|
|
}
|
|
|
|
|
2019-02-17 17:23:59 +00:00
|
|
|
func InitCmd(cmd *cobra.Command, config string) {
|
|
|
|
cfg = config
|
2018-11-19 21:36:21 +00:00
|
|
|
|
|
|
|
cmd.AddCommand(remoteCmd)
|
|
|
|
}
|