Start work on generating rc cmd wrappers

This commit is contained in:
Kovid Goyal
2022-11-14 15:41:45 +05:30
parent 77f7ce82c0
commit 47f35a06e6
5 changed files with 91 additions and 10 deletions
+25
View File
@@ -0,0 +1,25 @@
//go:build exclude
// this file is autogenerated by __FILE__ do not edit
package at
import (
"github.com/spf13/cobra"
"kitty/tools/cli"
)
func setup_CMD_NAME(root *cobra.Command) *cobra.Command {
ans := cli.CreateCommand(&cobra.Command{
Use: "CLI_NAME [options]",
Short: "SHORT_DESC",
Long: "LONG_DESC",
})
return ans
}
func init() {
all_commands["CMD_NAME"] = setup_CMD_NAME
}