Closed danielgtaylor closed 5 years ago
Example that fails:
$ j 1.1.1.1
Causes:
panic: stdin:1:10 (9): no match found, expected: ",", [ \t\r\n], [0-9] or EOF goroutine 1 [running]: main.main.func1(0xc420013180, 0xc42000c440, 0x2, 0x2) /Users/dan/Projects/src/github.com/danielgtaylor/openapi-cli-generator/j/main.go:26 +0x2f4 github.com/danielgtaylor/openapi-cli-generator/vendor/github.com/spf13/cobra.(*Command).execute(0xc420013180, 0xc4200101c0, 0x2, 0x2, 0xc420013180, 0xc4200101c0) /Users/dan/Projects/src/github.com/danielgtaylor/openapi-cli-generator/vendor/github.com/spf13/cobra/command.go:766 +0x2c1 github.com/danielgtaylor/openapi-cli-generator/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc420013180, 0x1218e9a, 0x20, 0xc42005a8f0) /Users/dan/Projects/src/github.com/danielgtaylor/openapi-cli-generator/vendor/github.com/spf13/cobra/command.go:852 +0x30a github.com/danielgtaylor/openapi-cli-generator/vendor/github.com/spf13/cobra.(*Command).Execute(0xc420013180, 0x1212666, 0x6) /Users/dan/Projects/src/github.com/danielgtaylor/openapi-cli-generator/vendor/github.com/spf13/cobra/command.go:800 +0x2b main.main() /Users/dan/Projects/src/github.com/danielgtaylor/openapi-cli-generator/j/main.go:53 +0x315
Example that fails:
Causes: