CreateFeatureCommand constructor
CreateFeatureCommand({
- required Logger logger,
- required MasonGeneratorFromBundle? generatorFromBundle,
- required MasonGeneratorFromBrick? generatorFromBrick,
Implementation
CreateFeatureCommand({
required this.logger,
required MasonGeneratorFromBundle? generatorFromBundle,
required MasonGeneratorFromBrick? generatorFromBrick,
}) : _generatorFromBundle = generatorFromBundle ?? MasonGenerator.fromBundle,
_generatorFromBrick = generatorFromBrick ?? MasonGenerator.fromBrick {
argParser.addOption(
'output-directory',
abbr: 'o',
help: 'The desired output directory when creating a new feature.',
);
}