add cmd and args options
Merge pull request #3 from joeybaker/cmd

add cmd and args options