19 lines
255 B
Go
19 lines
255 B
Go
package remote
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var configDir string
|
|
|
|
var remoteCmd = &cobra.Command{
|
|
Use: "remote",
|
|
Short: "Manage Remote Server",
|
|
}
|
|
|
|
func InitCmd(cmd *cobra.Command, cnf string) {
|
|
configDir = cnf
|
|
|
|
cmd.AddCommand(remoteCmd)
|
|
}
|