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 limit is $_defaultLogLimit records).
\$ $baseCommand log
View the most recent logs with UTC timestamps and a custom limit.
\$ $baseCommand log --utc --limit 100
Stream logs in real-time.
\$ $baseCommand log --tail
View logs from the last hour using duration.
\$ $baseCommand log 1h
\$ $baseCommand log --since 1h
View logs since a specific time using ISO date format:
\$ $baseCommand log --since 2025-01-15T14:00:00Z
\$ $baseCommand log --since "2025-01-15 14:00"
\$ $baseCommand log --since 2025-01-15
View logs in a time range using durations:
\$ $baseCommand log --since 1h --until 5m
View logs in a time range using ISO dates:
\$ $baseCommand log --since 2025-01-15 --until 2025-01-16
Mix ISO dates and durations:
\$ $baseCommand log --since 2025-01-15T14:00:00Z --until 30m
''';