doc function
Generates HTML documentation for the Dart Project into the specified output
directory in the given format
format can be either md or html
since 0.0.1
Implementation
Future<void> doc(
IShell shell, {
String output = 'doc',
String format = 'html',
}) async {
await _whenDartProject('Doc', shell, () async {
_log.info('Building Documentation...');
shell.requireCommand('dartdoc');
await shell.run('dartdoc --output $output --format $format');
});
}