PKGBUILD/cmd/remote/remote.go

19 lines
248 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",
Short: "Manage Remote",
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)
}