2023-10-07 07:37:08 +00:00
|
|
|
---
|
|
|
|
title: "esc env get"
|
2023-10-09 07:17:56 +00:00
|
|
|
menu:
|
|
|
|
esc_cli:
|
|
|
|
parent: commands
|
2023-10-07 07:37:08 +00:00
|
|
|
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Get a value within an environment.
|
|
|
|
|
|
|
|
## Synopsis
|
|
|
|
|
|
|
|
Get a value within an environment
|
|
|
|
|
|
|
|
This command fetches the current definition for the named environment and gets a
|
|
|
|
value within it. The path to the value to set is a Pulumi property path. The value
|
|
|
|
is printed to stdout as YAML.
|
|
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
esc env get [<org-name>/]<environment-name> <path> [flags]
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options
|
|
|
|
|
|
|
|
```
|
|
|
|
-h, --help help for get
|
|
|
|
--value string set to print just the value in the given format. may be 'dotenv', 'json', 'detailed', or 'shell'
|
|
|
|
```
|
|
|
|
|
|
|
|
## Options inherited from parent commands
|
|
|
|
|
|
|
|
```
|
|
|
|
--env string The name of the environment to operate on.
|
|
|
|
```
|
|
|
|
|
|
|
|
## SEE ALSO
|
|
|
|
|
2023-10-09 07:17:56 +00:00
|
|
|
* [esc env](/docs/esc-cli/commands/esc_env/) - Manage environments
|
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
|