CreateCommand constructor
CreateCommand({
- required Logger logger,
- @visibleForTesting MasonGeneratorFromBundle? generatorFromBundle,
- @visibleForTesting MasonGeneratorFromBrick? generatorFromBrick,
Implementation
CreateCommand({
required Logger logger,
@visibleForTesting MasonGeneratorFromBundle? generatorFromBundle,
@visibleForTesting MasonGeneratorFromBrick? generatorFromBrick,
}) {
addSubcommand(
CreateProjectCommand(
logger: logger,
generatorFromBundle: generatorFromBundle,
generatorFromBrick: generatorFromBrick,
),
);
addSubcommand(
CreateFeatureCommand(
logger: logger,
generatorFromBundle: generatorFromBundle,
generatorFromBrick: generatorFromBrick,
),
);
addSubcommand(
CreateSanitySchemaCommand(
logger: logger,
generatorFromBundle: generatorFromBundle,
generatorFromBrick: generatorFromBrick,
),
);
}