Skip to content

env ls command

David Killmon edited this page Jun 29, 2020 · 6 revisions
$ copilot env ls [flags]

What does it do?

copilot env ls lists all the environments in your application.

What are the flags?

-h, --help   help for ls
    --json   Optional. Outputs in JSON format.
-a, --app string   Name of the application.

You can use the --json flag if you'd like to programmatically parse the results.

Examples

Lists all the environments for the frontend application.

$ copilot env ls -a frontend

What does it look like?

Running copilot env ls

Clone this wiki locally