Rename fromString to parseCommand