shmig
shmig copied to clipboard
Add ability to run sql in the target database
It would be great if shmig allowed easy running of sql in the target database according to its config.
I'm not 100% sure what you mean. Something like this?
shmig -c my.conf "insert into mytbl (id, name) values (1, 'one');"
yes exactly
Why is this better than using the database's command-line client?
You can then reuse the database arguments abstractions and config loading built into shmig