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