BuildCommand constructor
BuildCommand({
- required FindSettings settings,
- required FileSystem fs,
- required Logger logger,
Implementation
BuildCommand({
required this.settings,
required this.fs,
required this.logger,
}) {
argParser
..addOption(
'config',
abbr: 'c',
valueHelp: 'Define a yaml file path.',
help: 'If not present use the "barreler.yaml" file',
)
..addFlag(
'set-exit-if-changed',
defaultsTo: false,
negatable: false,
help: 'Fail if there are any changes in the generated barrel files.',
);
}