You can run queries from the command line.
You can load modules.
If you don't have command line options you can just pass the whole SQL query as if the command was "echo". Watch out for shell globbing!
You can put the module path as the parent of your table
sqlhild in server mode runs a Postgres facade. You can use your favourite Postgres client to play around with sqlhild tables.