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