loadMarkdown method

void loadMarkdown()

Implementation

void loadMarkdown() {
  final file = File('pipe.md');

  if (!file.existsSync()) {
    error('file "pipe.md" was not found at current location');
    return;
  }

  final markdown = file.readAsStringSync();

  _detectYaml(markdown);
  _detectDart(markdown);

  createCliCommands();
  createScriptCommands();
}