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
{{ message }}
Repository navigation
Commit de6d2cb
Browse filesBrowse the repository at this point in the historyBrowse files
stlc-bot
committed
fix(openapi): keep legacy batch inputs in the spec as deprecated (#2225)
feat(access-policies): limit which websites API requests can reach (#2213)
feat(brand): support log-free brand and styleguide requests (#2231)
fix(brand): keep metadata-only usage logs for ZDR brand requests (#2234)
feat(monitors): add search target to watch the web for new developments (#2215)
Stainless-Generated-From: 5faf577793b3ac81606761802996df688af72067
Copy file name to clipboardExpand all lines: pkg/cmd/monitor.go
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,13 @@ var monitorsCreate = requestflag.WithInnerFlags(cli.Command{
27
27
},
28
28
&requestflag.Flag[map[string]any]{
29
29
Name: "target",
30
-
Usage: "What to watch: a page, a sitemap, or data extracted from a site.",
30
+
Usage: "What to watch: a page, a sitemap, data extracted from a site, or web search results.",
31
31
Required: true,
32
32
BodyPath: "target",
33
33
},
34
34
&requestflag.Flag[map[string]any]{
35
35
Name: "change-detection",
36
-
Usage: "How changes are judged. Defaults to `semantic` for extract targets and page targets with `instructions`, otherwise `exact`.",
36
+
Usage: "How changes are judged. Defaults to `semantic` for extract and search targets and page targets with `instructions`, otherwise `exact`.",
37
37
BodyPath: "change_detection",
38
38
},
39
39
&requestflag.Flag[string]{
@@ -135,7 +135,7 @@ var monitorsUpdate = requestflag.WithInnerFlags(cli.Command{
135
135
},
136
136
&requestflag.Flag[map[string]any]{
137
137
Name: "change-detection",
138
-
Usage: "How changes are judged. Defaults to `semantic` for extract targets and page targets with `instructions`, otherwise `exact`.",
138
+
Usage: "How changes are judged. Defaults to `semantic` for extract and search targets and page targets with `instructions`, otherwise `exact`.",
139
139
BodyPath: "change_detection",
140
140
},
141
141
&requestflag.Flag[string]{
@@ -165,7 +165,7 @@ var monitorsUpdate = requestflag.WithInnerFlags(cli.Command{
165
165
},
166
166
&requestflag.Flag[map[string]any]{
167
167
Name: "target",
168
-
Usage: "What to watch: a page, a sitemap, or data extracted from a site.",
168
+
Usage: "What to watch: a page, a sitemap, data extracted from a site, or web search results.",
169
169
BodyPath: "target",
170
170
},
171
171
&requestflag.Flag[map[string]any]{
@@ -245,7 +245,7 @@ var monitorsList = cli.Command{
245
245
},
246
246
&requestflag.Flag[any]{
247
247
Name: "search-by",
248
-
Usage: "Fields to search with `q`. Defaults to all fields; pageand extract targets can have instructions.",
248
+
Usage: "Fields to search with `q`. Defaults to all fields; page, extract, and search targets can have instructions, and `url` matches a search target’s query.",
0 commit comments