mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 15:32:53 +00:00
19 lines
313 B
Go
19 lines
313 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/carapace-sh/carapace"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var helpCmd = &cobra.Command{
|
|
Use: "help [command]",
|
|
Short: "Help about any command",
|
|
Run: func(cmd *cobra.Command, args []string) {},
|
|
}
|
|
|
|
func init() {
|
|
carapace.Gen(helpCmd).Standalone()
|
|
|
|
rootCmd.AddCommand(helpCmd)
|
|
}
|