remove flag from version option
move static Command::command() to a normal function template