Implement the missing command option

Added support to supply SQL when invoking this command. 

Also includes the prompt feature mentioned in #71.  I figured that as long as this command is stepping on the original implementation, it might as well have better feature parity.