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/cmd/web.go
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -209,6 +209,11 @@ var webScreenshot = requestflag.WithInnerFlags(cli.Command{
209
209
Usage: "Capture a screenshot of a website.",
210
210
Suggest: true,
211
211
Flags: []cli.Flag{
212
+
&requestflag.Flag[string]{
213
+
Name: "color-scheme",
214
+
Usage: "Optional parameter to choose the site's visual theme in the screenshot. Use 'light' or 'dark' when the site offers both appearances.",
215
+
QueryPath: "colorScheme",
216
+
},
212
217
&requestflag.Flag[string]{
213
218
Name: "country",
214
219
Usage: "Two-letter ISO 3166-1 alpha-2 country code for the website request location. When provided, Context.dev fetches the target page from that country.",
0 commit comments