printNameDescription method

void printNameDescription()

print the name and description

Implementation

void printNameDescription() {
  stdout.writeln('$name${parent != null ? '' : ' ${version.toString()}'}');
  if (description != null) {
    stdout.writeln('  $description');
  }
}