feat(cli): add source and build download commands - #93
Merged
Merged
Conversation
Binary GET helpers for workspace zip and compiled bundle artifacts; register voicethere source download and build download with tests.
Allow downloading workspace zip or compiled bundle for a project UUID without a linked .voicethere/config.json, matching deploy and other commands.
Keep source/build download commands and main's init template help.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Download saved Code workspace and compiled agent bundles over the same authenticated APIs as the dashboard.
voicethere source download -o ./workspace.zip [--project <uuid>]— zip of the saved cloud workspacevoicethere build download -o ./agent.js [--project <uuid>] [--build-id <uuid>]— compiled bundle (active build, else newest passed)--projectis the same flag asdeployand other commands (Commander also accepts--project=<uuid>). Omit it to use the linked.voicethere/config.json. There is no nestedvoicethere project <id> source downloadcommand.voicethere source pullis unchanged: it still writes files into the linked local repo.Binary GET helper keeps JSON
ApiErroron non-2xx. No npm version bump; commands land for the next CLI release.Verified locally and in CI; no extra manual steps.