[wrangler] Add artifacts CLI commands#13670
Conversation
🦋 Changeset detectedLatest commit: f617dd6 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Codeowners approval required for this PR:
Show detailed file reviewers
|
Changeset Review✅ All changesets look good .changeset/green-books-accept.md
|
|
Review posted on PR #13670. The single actionable issue is that both |
create-cloudflare
@cloudflare/kv-asset-handler
miniflare
@cloudflare/pages-shared
@cloudflare/unenv-preset
@cloudflare/vite-plugin
@cloudflare/vitest-pool-workers
@cloudflare/workers-editor-shared
@cloudflare/workers-utils
wrangler
commit: |
emily-shen
left a comment
There was a problem hiding this comment.
initial comments - still need to test it manually
|
b8e92a9 to
183b2fb
Compare
|
marking this as draft while the issue with the namespaces API endpoint is being resolved |
183b2fb to
aec9736
Compare
|
@emily-shen ready for final review |
|
Codeowners approval required for this PR:
Show detailed file reviewers |
b44c803 to
f617dd6
Compare
workers-devprod
left a comment
There was a problem hiding this comment.
Codeowners reviews satisfied
Add
wrangler artifactscommands for viewing Artifacts namespaces and managing repositories from Wrangler.Wrangler already supports Artifacts bindings in config, but it did not expose the control-plane workflows from the Artifacts API. This adds the namespace and repo command surface under Storage & databases, keeps the repo commands scoped by
--namespace, and avoids persisting issued credentials through Wrangler's debug logger in human mode.artifacts namespaces list|getartifacts repos create|list|get|delete|issue-tokenwrangler artifacts namespaces list wrangler artifacts namespaces get sandbox wrangler artifacts repos create starter-repo --namespace sandbox wrangler artifacts repos issue-token starter-repo --namespace sandbox --scope readA picture of a cute animal (not mandatory, but encouraged)