mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-19 15:04:50 +02:00
Start work on generating rc cmd wrappers
This commit is contained in:
25
tools/cmd/at/template.go
Normal file
25
tools/cmd/at/template.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user