usageExamples property
Commands can override this getter to add examples to the usage help text.
Implementation
@override
String get usageExamples => '''\n
Examples
View the most recent logs (default: last 10 minutes).
\$ scloud log
View logs from the last hour using duration.
\$ scloud log 1h
\$ scloud log --since 1h
View logs since a specific time using ISO date format:
\$ scloud log --since 2025-01-15T14:00:00Z
\$ scloud log --since "2025-01-15 14:00"
\$ scloud log --since 2025-01-15
View logs in a time range using durations:
\$ scloud log --since 1h --until 5m
View logs in a time range using ISO dates:
\$ scloud log --since 2025-01-15 --until 2025-01-16
Mix ISO dates and durations:
\$ scloud log --since 2025-01-15T14:00:00Z --until 30m
Stream logs in real-time.
\$ scloud log --tail
View logs with UTC timestamps and a custom limit.
\$ scloud log --utc --limit 100
''';