diff --git a/site/content/en/docs/Commands/env/delete.md b/site/content/en/docs/Commands/env/delete.md index 6dc181e5f50..5e1fe2ca72a 100644 --- a/site/content/en/docs/Commands/env/delete.md +++ b/site/content/en/docs/Commands/env/delete.md @@ -1,7 +1,7 @@ --- title: "env delete" linkTitle: "env delete" -weight: 3 +weight: 4 --- ```bash diff --git a/site/content/en/docs/Commands/env/show.md b/site/content/en/docs/Commands/env/show.md new file mode 100644 index 00000000000..35b4f3bc464 --- /dev/null +++ b/site/content/en/docs/Commands/env/show.md @@ -0,0 +1,27 @@ +--- +title: "env show" +linkTitle: "env show" +weight: 3 +--- + +```bash +$ copilot env show [flags] +``` + +### What does it do? +`copilot env show` shows info about a deployed environment, including region, account ID, and services. + +### What are the flags? +```bash +-h, --help help for show + --json Optional. Outputs in JSON format. +-n, --name string Name of the environment. + --resources Optional. Show the resources in your environment. +``` +You can use the `--json` flag if you'd like to programmatically parse the results. + +### Examples +Shows info about the environment "test". +```bash +$ copilot env show -n test +```