PKGBUILD/cmd/config/config.go

20 lines
252 B
Go
Raw Normal View History

2018-11-19 21:36:21 +00:00
package config
import (
"github.com/spf13/cobra"
)
var configDir string
var configCmd = &cobra.Command{
Use: "config",
Short: "Manage configuration",
2018-11-19 21:36:21 +00:00
}
func InitCmd(cmd *cobra.Command, c string) {
configDir = c
cmd.AddCommand(configCmd)
}