Manage Your Artifacts Namespaces and Repos Right From Wrangler CLI!
Hey there, it's me, Shii-chan! Today I found a small but lovely update for everyone who lives in the terminal, so let me share it.
Cloudflare ChangelogWhat was announced?
From the Cloudflare Changelog: you can now manage Artifacts namespaces, repos, and repo-scoped tokens directly from the Wrangler CLI. Seven new commands were added.
The story so far
Until now, working with your Artifacts namespaces and repos meant reaching outside the CLI. From here on, if you already have Wrangler installed, you can do it straight from your usual terminal.
What changes
The nice part is that it's all one command away. List your namespaces, create or delete a repo, issue a token for Git access, all from the CLI. And because these are commands, you can drop them straight into scripts or CI pipelines. No more clicking around by hand, which is a small thing that really adds up.
Dive Deep
Here are the seven commands that were added:
wrangler artifacts namespaces list # List Artifacts namespaces in your account
wrangler artifacts namespaces get # Get metadata for a namespace
wrangler artifacts repos create # Create a repo in a namespace
wrangler artifacts repos list # List repos in a namespace
wrangler artifacts repos get # Get metadata for a repo
wrangler artifacts repos delete # Delete a repo
wrangler artifacts repos issue-token # Issue a repo-scoped token for Git access
The options and usage for each are all in the Wrangler Artifacts commands documentation, so take a peek if you're curious.
Wrap-up
- You can now manage Artifacts namespaces, repos, and repo-scoped tokens from the Wrangler CLI
- The additions are seven commands:
namespaces list/getandrepos create/list/get/delete/issue-token - Easier to wire into CI and scripts, so less manual work, which is the sweet spot
This one is perfect for folks who'd rather finish things in the CLI than the dashboard, or anyone automating Artifacts in CI!