mirror of
https://github.com/davidallendj/opaal.git
synced 2025-12-20 03:27:02 -07:00
18 lines
333 B
Go
18 lines
333 B
Go
package cmd
|
|
|
|
import "github.com/spf13/cobra"
|
|
|
|
var configCmd = &cobra.Command{
|
|
Use: "config",
|
|
Short: "Create a new default config file",
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
// create a new config at all args (paths)
|
|
for _, path := range args {
|
|
_ = path
|
|
}
|
|
},
|
|
}
|
|
|
|
func init() {
|
|
rootCmd.AddCommand(configCmd)
|
|
}
|