2023-10-07 07:37:08 +00:00
|
|
|
---
|
|
|
|
title: "esc open"
|
2023-10-09 07:17:56 +00:00
|
|
|
menu:
|
|
|
|
esc_cli:
|
|
|
|
parent: commands
|
2023-10-07 07:37:08 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Open the environment with the given name.
|
|
|
|
|
2023-10-09 07:17:56 +00:00
|
|
|
## Synopsis
|
2023-10-07 07:37:08 +00:00
|
|
|
|
|
|
|
Open the environment with the given name and return the result
|
|
|
|
|
|
|
|
This command opens the environment with the given name. The result is written to
|
|
|
|
stdout as JSON. If a property path is specified, only retrieves that property.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
esc open [<org-name>/]<environment-name> [property path] [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
-f, --format string the output format to use. May be 'dotenv', 'json', 'detailed', or 'shell' (default "json")
|
|
|
|
-h, --help help for open
|
|
|
|
-l, --lifetime duration the lifetime of the opened environment in the form HhMm (e.g. 2h, 1h30m, 15m) (default 2h0m0s)
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-09 07:17:56 +00:00
|
|
|
* [esc](/docs/esc-cli/commands/esc/) - Pulumi ESC command line
|
2023-10-07 07:37:08 +00:00
|
|
|
|
2023-10-09 07:17:56 +00:00
|
|
|
###### Auto generated by spf13/cobra on 9-Oct-2023
|