Skip to content

Update from code changes: cluster-aware porter env list#416

Open
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/690c8c26
Open

Update from code changes: cluster-aware porter env list#416
mintlify[bot] wants to merge 3 commits into
mainfrom
mintlify/690c8c26

Conversation

@mintlify

@mintlify mintlify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the porter env list reference to reflect that it now scopes results to the active cluster and supports a new --json flag for machine-readable output.

Changes

  • Documented the new --json flag for JSON output.
  • Explained cluster-aware behavior when a cluster is set via config, --cluster, or PORTER_CLUSTER.
  • Added a JSON output example with environment_groups and cluster_scoped_environment_groups arrays.
  • Noted that table results are sorted alphabetically by name.

Context

Triggered by porter-dev/code#7012 and follow-up porter-dev/code#7028.

Update history

  • Initial: documented cluster-aware porter env list and the original -o json output flag (porter-dev/code#7012).
  • Follow-up: replaced -o json with the new --json boolean flag and noted alphabetical name sort (porter-dev/code#7028).

@mintlify
mintlify Bot requested a review from jackowfish July 15, 2026 18:24
@mintlify

mintlify Bot commented Jul 15, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
porter 🟢 Ready View Preview Jul 15, 2026, 6:27 PM

@mintlify

mintlify Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor Author

Update from code changes updated this PR.

Updated porter env list flag from -o json to --json

Source PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants