add version subcommand