if (optionRoot['help'].valueAtCurrent() as bool) {
logInfo('dartdoc version: $dartdocVersion');
logInfo('Generate HTML documentation for Dart libraries.\n');
logInfo(optionRoot.argParser.usage);
exitCode = 0;
return null;
}
if (optionRoot['version'].valueAtCurrent() as bool) {
logInfo('dartdoc version: $dartdocVersion');
exitCode = 0;
return null;
}
It seems to me that logInfo doesn't print things. Maybe we should use print instead, or maybe the default log-level changed accidentally.
It seems to me that
logInfodoesn't print things. Maybe we should useprintinstead, or maybe the default log-level changed accidentally.