Skip to content

fix(cli): allow --performance free for query run / run-sql#55

Merged
charisra merged 1 commit intomainfrom
fix-cli-allow-performance-free-for-query-run
Apr 21, 2026
Merged

fix(cli): allow --performance free for query run / run-sql#55
charisra merged 1 commit intomainfrom
fix-cli-allow-performance-free-for-query-run

Conversation

@charisra
Copy link
Copy Markdown
Contributor

@charisra charisra commented Apr 21, 2026

Allow the free performance tier in parsePerformance so community-style API keys can pass validation; update flag help and README. Keeps small/medium/large unchanged.

@cursor
Copy link
Copy Markdown

cursor Bot commented Apr 21, 2026

PR Summary

Low Risk
Small, localized CLI input-validation and documentation change with a simple added test; no auth, data handling, or API behavior changes beyond allowing an additional enum value.

Overview
Updates query run and query run-sql to accept --performance free by extending parsePerformance validation and adjusting help/long descriptions to describe plan-specific tier names.

Refreshes README command documentation to include free in the supported tiers and adds a unit test ensuring run-sql passes through Performance="free" to the API request.

Reviewed by Cursor Bugbot for commit a54ab13. Configure here.

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@charisra charisra merged commit 1c1ab49 into main Apr 21, 2026
3 checks passed
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.

2 participants