17 lines
262 B
Go
17 lines
262 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var ewwCmd = &cobra.Command{
|
|
Use: "eww",
|
|
Short: "eww integration",
|
|
PersistentPreRun: func(cmd *cobra.Command, args []string) {
|
|
hm.LoadConfig(configPath)
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(ewwCmd)
|
|
}
|