gurl export
gurl export
Write one request, one collection or every request to a file (or stdout) in gurl’s native format.
Synopsis
gurl export (--name <request> | --collection <name> | --all) [--output <file>] [--passphrase <pass>]A collection export includes the collection’s variables and request membership. Collection secrets are encrypted with --passphrase and can be imported with gurl import or gurl collection import.
Flags
| Flag | Short | Default | Description |
|---|---|---|---|
--name | -n | none | Export one request by name |
--collection | -c | none | Export an entire collection |
--all | -a | false | Export all requests |
--output | -o | stdout | Output file |
--format | --fmt | gurl | Export format (only gurl is supported) |
--passphrase | none | Passphrase for encrypting collection secrets |
Aliases
exp
Examples
Export one request to stdout
gurl export --name get-userShare a collection with its secrets
gurl export --collection payments-api --passphrase "$TEAM_SECRET" --output payments-api.gurlBack up everything
gurl export --all --output backup.gurlRelated commands
gurl import- Import requests and collection exportsgurl share- Encrypt an export to one person’s public key instead of a shared passphrasegurl collection-collection export/collection import- Credential storage - How passphrase exports are encrypted