printBaseUsage method

void printBaseUsage()

Print the base usage

Implementation

void printBaseUsage() {
  printNameDescription();
  if (_commands.isNotEmpty) {
    stdout.writeln();
    printCommands();
  } else {
    stdout.writeln();
    stdout.writeln(parser.usage);
  }
}