Create project command

The option parsing block can be extracted into a common method.