We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b2404f commit 19eaee8Copy full SHA for 19eaee8
1 file changed
src/fastapi_cloud_cli/commands/logs.py
@@ -137,7 +137,13 @@ def logs(
137
help="Stream logs in real-time (use --no-follow to fetch and exit).",
138
),
139
) -> None:
140
- """Stream or fetch logs from your deployed app."""
+ """Stream or fetch logs from your deployed app.
141
+
142
+ Examples:
143
+ fastapi cloud logs # Stream logs in real-time
144
+ fastapi cloud logs --no-follow # Fetch recent logs and exit
145
+ fastapi cloud logs --tail 50 --since 1h # Last 50 logs from the past hour
146
+ """
147
identity = Identity()
148
with get_rich_toolkit(minimal=True) as toolkit:
149
if not identity.is_logged_in():
0 commit comments