cmd parser for shapes