PKGBUILD/cmd/remote/remote.go

19 lines
255 B
Go
Raw Normal View History

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
}
func InitCmd(cmd *cobra.Command, cnf string) {
configDir = cnf
2018-11-19 21:36:21 +00:00
cmd.AddCommand(remoteCmd)
}