工具
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
229 B

4 years ago
  1. package main
  2. import (
  3. "demo/servicegen"
  4. "github.com/spf13/cobra"
  5. )
  6. func main() {
  7. rootCmd := cobra.Command{Use: "hskctl"}
  8. rootCmd.AddCommand(servicegen.Command())
  9. err := rootCmd.Execute()
  10. if err != nil {
  11. panic(err)
  12. }
  13. }