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

Deploy your project to the cloud

  \$ scloud deploy

Preview the file tree that will be uploaded

  \$ scloud deploy --show-files

The output shows files that will be included in the deployment, as well as files that are ignored (marked with "(ignored)").

This is useful for verifying that your .gitignore and .scloudignore files are working as expected. You can combine it with --dry-run to preview the file tree without actually deploying:

  \$ scloud deploy --dry-run --show-files

''';