Skip to content

fix: use CF v3 API#8

Merged
darmiel merged 4 commits intomainfrom
fix/use-cf-api-v3
Feb 12, 2026
Merged

fix: use CF v3 API#8
darmiel merged 4 commits intomainfrom
fix/use-cf-api-v3

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