update export command docs with proejctId flag

This commit is contained in:
Maidul Islam
2023-03-01 17:40:39 -05:00
parent d3d5ead6ed
commit 0d16f707c2

View File

@@ -16,7 +16,7 @@ Export environment variables from the platform into a file format.
| Option | Description | Default value |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- |
| `--env` | Used to set the environment that secrets are pulled from. Accepted values: `dev`, `staging`, `test`, `prod` | `dev` |
| `--projectId` | Only required if injecting via the [service token method](../token). If you are not using service token, the project id will be automatically retrieved from the `.infisical.json` located at the root of your local project. | `None` |
| `--projectId` | By default the project id isretrieved from the `.infisical.json` located at the root of your local project. This flag allows you to override this behavior | `None` |
| `--expand` | Parse shell parameter expansions in your secrets (e.g., `${DOMAIN}`) | `true` |
| `--format` | Format of the output file. Accepted values: `dotenv`, `dotenv-export`, `csv` and `json` | `dotenv` |