gurl export

Export saved requests to a file in various formats.

Usage

gurl export [flags]

Description

The export command writes one or more requests to a file. You can export individual requests, entire collections, or all requests.

Flags

FlagShortDefaultDescription
--name-nnoneExport a specific request by name
--collection-cnoneExport an entire collection
--all-afalseExport all requests
--output-ostdoutOutput file path

Aliases

  • exp

Examples

Export a single request

gurl export --name "my-request" --output my-request.gurl

Exports the “my-request” to a file.

Export a collection

gurl export --collection "api" --output api-collection.gurl

Exports all requests in the “api” collection.

Export all requests

gurl export --all --output backup.gurl

Exports all saved requests to a backup file.

See also