fauna environment add

Add an environment to the .fauna-project file.

Syntax

fauna environment add [-y | --no-input] [--database <value>]
  [--endpoint <value>] [--help] [--name <value>] [--set-default]

Description

Add a new environment to .fauna-project.

Arguments

None

Options

Option Description

-y, --no-input

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

Help for environment add command.

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!