environment add
Add an environment to the .fauna-project
file.
Syntax
fauna environment add [--non-interactive --name <value> --endpoint <value> --database <value>] [--set-default]
Options
Option | Description |
---|---|
--non-interactive |
Disable interaction. |
--name |
Environment name. |
--endpoint |
Endpoint to use in this environment. |
--database |
Database path to use in this environment. |
--set-default |
Set this environment as the default. |
|
Help for |
Examples
fauna environment add
fauna environment add --name my-app --endpoint dev --database my-database
fauna environment add --name my-app --endpoint dev --database my-database --set-default
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!