printHelp method

dynamic printHelp()
inherited

Prints a small blurb about the command using properties to generate it's data.

Implementation

printHelp() {
  print('''
$command ${use ?? ''} ${aliases?.join('|') ?? ''}
${description ?? 'No description provided'}

example:
${example ?? 'No example provided'}

supported flags:''');
  supportedFlags?.forEach((key, value) {
    print('  $key: $value');
  });
}