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