Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(site): add missing document for "env show" command #1194

Merged
merged 4 commits into from
Jul 27, 2020
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion site/content/en/docs/Commands/env/delete.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "env delete"
linkTitle: "env delete"
weight: 3
weight: 4
---

```bash
Expand Down
27 changes: 27 additions & 0 deletions site/content/en/docs/Commands/env/show.md
Original file line number Diff line number Diff line change
@@ -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
```