Skip to content

Improve handling of non-sdk api calls - #526

Merged
Peter van der Zee (pvdz) merged 2 commits into
mainfrom
nonsdkapi
May 7, 2025
Merged

Peter van der Zee (pvdz) merged 2 commits into
mainfrom
nonsdkapi

Conversation

@pvdz

Copy link
Copy Markdown
Contributor

This improves handling of API calls that do not go through our sdk.

It abstracts the CResult stuff and the .text() and .json() stuff in a way that should always return a CResult.

Also tweaked the meow exit code for emitting help.

Updated the smoke test accordingly. Also added better handling for backing up and restoring certain config values. Just don't ctrl+c too quickly and you'll be fine :)

@pvdz
Peter van der Zee (pvdz) merged commit 70af28c into main May 7, 2025
@pvdz
Peter van der Zee (pvdz) deleted the nonsdkapi branch May 7, 2025 12:25
John-David Dalton (jdalton) pushed a commit that referenced this pull request May 7, 2025
* Improve handling of non-sdk api calls

* Update exit code expectation in snapshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant