Skip to content

Add create visualization CLI command#47

Merged
ivpusic merged 5 commits intomainfrom
feat/visualization-create-api
Apr 1, 2026
Merged

Add create visualization CLI command#47
ivpusic merged 5 commits intomainfrom
feat/visualization-create-api

Conversation

@ivpusic
Copy link
Copy Markdown
Member

@ivpusic ivpusic commented Apr 1, 2026

Exposing CLI create visualization

@ivpusic ivpusic requested a review from norbertdurcansk April 1, 2026 10:10
@cursor
Copy link
Copy Markdown

cursor bot commented Apr 1, 2026

PR Summary

Medium Risk
Additive CLI surface area but introduces a new API call path and user-supplied JSON parsing that could fail at runtime if inputs or API expectations change.

Overview
Adds a new top-level visualization (alias viz) command to the CLI, initially supporting viz create to create a visualization attached to an existing saved query.

viz create introduces flags for --query-id, --name, --type, --description, and required --options JSON, calls the API client’s CreateVisualization, and prints either text output with the generated embed URL or a small JSON payload (id, url). The PR also bumps github.com/duneanalytics/duneapi-client-go to v0.4.6.

Written by Cursor Bugbot for commit f6b97b7. Configure here.

@ivpusic ivpusic merged commit beeb106 into main Apr 1, 2026
2 checks passed
@ivpusic ivpusic deleted the feat/visualization-create-api branch April 1, 2026 13:17
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