Skip to content

env ls command

Efe Karakus edited this page Jun 25, 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
Clone this wiki locally