printUsage method

  1. @override
void printUsage()
override

Prints the usage information for this command.

This is called internally by run and can be overridden by subclasses to control how output is displayed or integrate with a logging system.

Implementation

@override
void printUsage() {
  print('Create new DCFlight projects or modules\n');
  print('Usage:');
  print('  dcf create app      Create a new DCFlight app');
  print('  dcf create module   Create a new DCFlight module');
  print('\nExamples:');
  print('  dcf create app');
  print('  dcf create module');
}