usageExamples property

  1. @override
String get usageExamples
override

Commands can override this getter to add examples to the usage help text.

Implementation

@override
String get usageExamples =>
    '''\n
Examples

Publish the Flutter app of your project

  \$ $baseCommand app publish

Publish only the Android app

  \$ $baseCommand app publish --platforms android

Publish the app without waiting for its builds to finish

  \$ $baseCommand app publish --no-await

Publish a Flutter app in a specific directory

  \$ $baseCommand app publish --app-dir my_project_flutter

''';