You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/cli/add_wizard_command.go
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,9 @@ Examples:
38
38
39
39
Workflow specifications:
40
40
- Two parts: "owner/repo[@version]" (loads repository-root aw.yml package)
41
-
- Three+ parts without .md: "owner/repo/path[@version]" (tries path/aw.yml; if path is a single segment and no manifest is found, falls back to workflows/path.md)
42
-
- Four+ parts ending in .md: "owner/repo/path/to/workflow.md[@version]" (loads that explicit markdown workflow path)
41
+
- Three+ parts without .md: "owner/repo/folder[@version]" (loads nested aw.yml package when present)
42
+
- Three parts: "owner/repo/workflow-name[@version]" (implicitly looks in workflows/ directory)
logsCmd.Flags().String("after", "", "(Cache eviction) Evict locally cached run folders for runs before this date, prior to downloading. Accepts deltas like -1d, -1w, -1mo (or explicit day counts like -30d), or an absolute date YYYY-MM-DD. Unlike --start-date, this only clears local cache and does not filter which runs are fetched.")
318
+
logsCmd.Flags().String("cache-before", "", "(Cache eviction) Evict locally cached run folders for runs before this date, prior to downloading. Accepts deltas like -1d, -1w, -1mo (or explicit day counts like -30d), or an absolute date YYYY-MM-DD. Unlike --start-date, this only clears local cache and does not filter which runs are fetched.")
319
+
logsCmd.Flags().String("after", "", "Alias for --cache-before")
assert.Equal(t, "logs [workflow]", cmd.Use, "Command use should be 'logs [workflow]'")
18
18
assert.Equal(t, "Download and analyze agentic workflow logs with aggregated metrics", cmd.Short, "Command short description should match")
19
19
assert.Contains(t, cmd.Long, "Download and analyze agentic workflow logs", "Command long description should contain expected text")
20
-
assert.Contains(t, cmd.Long, "Evict local cache older than 1 week before downloading runs", "Cache maintenance examples should describe eviction plus download behavior")
20
+
assert.Contains(t, cmd.Long, "logs --cache-before -1w", "Cache maintenance examples should use the cache-before flag name")
0 commit comments