summaryrefslogtreecommitdiff
path: root/cmd/run.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/run.go')
-rw-r--r--cmd/run.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/run.go b/cmd/run.go
index 8c1a39d..a02b2ec 100644
--- a/cmd/run.go
+++ b/cmd/run.go
@@ -53,5 +53,11 @@ Examples:
# Follow paginated links.
$ flyscrape run example.js --depth 5 --follow ".next-button > a"
+
+ # Set the output format to ndjson.
+ $ flyscrape run example.js --output.format ndjson
+
+ # Write the output to a file.
+ $ flyscrape run example.js --output.file results.json
`[1:])
}