schema pull

Pull the database schema .fsl files into the current project.

Syntax

fauna schema pull [--url <value>] [--timeout <value>] [--secret <value>] [--endpoint <value>] [--environment <value>] [--dir <value>] [--delete] [--help]

Description

Pull the database schema .fsl files into the current project.

Arguments

None

Options

Option Description

--delete

Delete .fsl files in the target directory that aren’t part of the database schema.

--dir

Directory of .fsl files to pull.

--endpoint

Fauna server endpoint.

--environment

Environment to use, from a Fauna project.

--help

Help for schema pull command.

--secret

Fauna secret key.

--timeout

Connection timeout in milliseconds.

--url

Database URL. Overrides the url in ~/.fauna-shell

Examples

fauna schema pull

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!