Is your feature request related to a problem? Please describe.
The generator is only available to command line users. It'd be nice if it could be programmatically invoked as well for other CLI programs that work with the database.
I took a look at the code and there's not really a ton of things being done in /cmd/jet/main.go, just needs to move things around a little.
Describe the solution you'd like
Code in cmd/jet/main.go refactored into a function that can be called from outside the lib with similar options to the CLI.
Is your feature request related to a problem? Please describe. The generator is only available to command line users. It'd be nice if it could be programmatically invoked as well for other CLI programs that work with the database.
I took a look at the code and there's not really a ton of things being done in
/cmd/jet/main.go
, just needs to move things around a little.Describe the solution you'd like
cmd/jet/main.go
refactored into a function that can be called from outside the lib with similar options to the CLI.