usage property

  1. @override
String get usage
override

Generates a string displaying usage information for this command.

This includes usage for the command's arguments as well as a list of subcommands, if there are any.

Implementation

@override
String get usage {
  // return super.usage;
  final [description, args] = super.usage.split(
    '\nUsage: revali dev [arguments]',
  );
  return '''
$description
Usage: revali dev [options] [-- <server arguments>]
$args''';
}