ConstructRunner constructor
ConstructRunner({})
Implementation
ConstructRunner({
required this.constructs,
required this.rootPath,
required this.logger,
required FileSystem fs,
required Analyzer analyzer,
}) : 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,
analyzer: analyzer,
),
);
addCommand(
BuildCommand(
fs: fs,
rootPath: rootPath,
constructs: constructs,
logger: logger,
analyzer: analyzer,
),
);
}