Add new CLI command to generate extensions.