Documentation Index
Fetch the complete documentation index at: https://astronomer-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
This command is only available on Astro.
.env file.
If an existing .env file already exists in your current directory, --save will append environment variables to the bottom of that file. It will not override or replace its contents. If .env does not exist, --save will create the file for you.
If an environment variable value is set as secret, the CLI will list only its key.
Usage
Options
| Option | Description | Possible Values |
|---|---|---|
-d,--deployment-id | The ID of the Deployment for which to list environment variables | Any valid Deployment ID |
-n,--deployment-name | The name of the Deployment for which to list environment variable(s). Use as an alternative to <deployment-id>. | Any valid Deployment name |
-e,--env | The file to save environment variables to when using --save. Defaults to .env in your current directory. | Any valid file path |
-k,--key | List only the environment variable associated with this key. If not specified, all environment variables are listed | Any string |
-s,--save | Save environment variables to a local .env file | “ |
-w,--workspace-id | List environment variables for a Deployment that is not in your current Workspace. If not specified, your current Workspace is assumed | Any valid Workspace ID |