parse command line options in init command.
add name and version args.