Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix: use CF v3 API#8

Merged
darmiel merged 4 commits intomainSAP/cf-cli-defaultenv-plugin:mainfrom
fix/use-cf-api-v3SAP/cf-cli-defaultenv-plugin:fix/use-cf-api-v3Copy head branch name to clipboard
Feb 12, 2026
Merged

fix: use CF v3 API#8
darmiel merged 4 commits intomainSAP/cf-cli-defaultenv-plugin:mainfrom
fix/use-cf-api-v3SAP/cf-cli-defaultenv-plugin:fix/use-cf-api-v3Copy head branch name to clipboard

Conversation

@darmiel
Copy link
Contributor

@darmiel darmiel commented Feb 11, 2026

This Pull Request directly retrieves the app's GUID via the /v3/apps API instead of using GetApp(name) which still uses /v2/apps under the hood.

It also adds new flags:

  • -f: to specify the output file (default: default-env.json)
  • -guid: the specify the app GUID (which skips fetching of the app by name)
  • -stdout: to output the merged environment as JSON to stdout

Closes #7

@darmiel darmiel requested a review from TomRomeo February 11, 2026 09:43
@darmiel darmiel self-assigned this Feb 11, 2026
@darmiel darmiel merged commit a3119a2 into main Feb 12, 2026
1 check passed
@darmiel darmiel deleted the fix/use-cf-api-v3 branch February 12, 2026 09:57
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.

Plugin uses deprecated v2 api

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.