schema:pull

Pull a directory of database schema .fsl files from Fauna.

Syntax

fauna schema:pull --dir <value> [--domain <value>] [--scheme https|http] [--port <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--delete] [--help]

Description

The schema:pull command pulls a directory of database schema .fsl files from Fauna.

Arguments

None

Options

Option Description

--delete

Delete .fsl files in the target directory that are not part of the database schema.

--dir

(required) Directory of .fsl files to push.

--domain

Fauna server domain.

--endpoint

Fauna server endpoint.

--help

Help for schema:pull command.

--port

Connection port.

--scheme

Connection scheme:
     `http`
     `https`

--secret

Fauna secret key.

--timeout

Connection timeout in milliseconds.

Examples

fauna schema pull --dir schemas/myschema

Is this article helpful? 

Tell Fauna how the article can be improved:
Visit Fauna's forums or email docs@fauna.com

Thank you for your feedback!