Skip to content

Add create visualization CLI command APP-7799 - #47

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

Add create visualization CLI command APP-7799#47
ivpusic merged 5 commits into
mainfrom
feat/visualization-create-api

Conversation

@ivpusic

@ivpusic ivpusic commented Apr 1, 2026

Copy link
Copy Markdown
Member

Exposing CLI create visualization

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

cursor Bot commented Apr 1, 2026

Copy link
Copy Markdown

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
@ivpusic ivpusic changed the title Add create visualization CLI command Add create visualization CLI command APP-7799 Apr 2, 2026
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