INNER CODE UNIT · Go
main
eksctl-io/eksctl · cmd/eksctl/main.go:57
func main() {
rootCmd := &cobra.Command{
Use: "eksctl [command]",
Short: "The official CLI for Amazon EKS",
Run: func(c *cobra.Command, _ []string) {
if err := c.Help(); err != nil {
logger.Debug("ignoring cobra error %q", err.Error())
}
},
SilenceUsage: true,
}
isAnywhereCommand, err := anywhere.IsAnywhereCommand(os.Args[1:])
if err != nil {
fmt.Println(err.Error())
os.Exit(1)
}