ConstructRunner constructor
ConstructRunner({})
Implementation
ConstructRunner({
required this.constructs,
required this.rootPath,
required this.logger,
required FileSystem fs,
}) : super('', 'Generates the construct') {
argParser
..addFlag(
'loud',
help: 'Prints detailed output',
hide: true,
)
..addFlag(
'quiet',
help: 'Limits output to important information only',
hide: true,
);
addCommand(
DevCommand(
fs: fs,
rootPath: rootPath,
constructs: constructs,
logger: logger,
),
);
addCommand(
BuildCommand(
fs: fs,
rootPath: rootPath,
constructs: constructs,
logger: logger,
),
);
}