cmd: add version flag to print version