2018-11-19 21:36:21 +00:00
|
|
|
package remote
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/spf13/cobra"
|
|
|
|
)
|
|
|
|
|
|
|
|
var configDir string
|
|
|
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2018-11-20 21:55:06 +00:00
|
|
|
func InitCmd(cmd *cobra.Command, cnf string) {
|
|
|
|
configDir = cnf
|
2018-11-19 21:36:21 +00:00
|
|
|
|
|
|
|
cmd.AddCommand(remoteCmd)
|
|
|
|
}
|