Usage:
pjs tables <schema> [flags]
Flags:
-h, --help help for tables
Global Flags:
--debug print debug information
-d, --dsn string a dsn string
-t, --show-types show types
panic: runtime error: index out of range [0] with length 0
goroutine 26 [running]:
github.com/ingcr3at1on/x/pjs/cmd/pjs/internal.(*customQueries).loadCustomQuery.func2(0xc000214000, {0xdd24e0, 0x0, 0x0})
/home/ing/go2/src/github.com/ingcr3at1on/x/pjs/cmd/pjs/internal/custom_queries.go:125 +0x279
github.com/spf13/cobra.(*Command).execute(0xc000214000, {0xdd24e0, 0x0, 0x0})
/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x60e
github.com/spf13/cobra.(*Command).ExecuteC(0xd9b920)
/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x3bc
github.com/spf13/cobra.(*Command).Execute(...)
/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:902
github.com/spf13/cobra.(*Command).ExecuteContext(...)
/home/ing/go/pkg/mod/github.com/spf13/[email protected]/command.go:895
github.com/ingcr3at1on/x/sigctx.StartWithContext.func1()
/home/ing/go/pkg/mod/github.com/ingcr3at1on/x/[email protected]/sigctx.go:74 +0x54
created by github.com/ingcr3at1on/x/sigctx.StartWithContext
/home/ing/go/pkg/mod/github.com/ingcr3at1on/x/[email protected]/sigctx.go:72 +0x151
2022/08/22 11:32:21 exit status 2