还没翻译·译自英文(developers.cloudflare.com)·本页 37 段都还没译
Manage Artifacts namespaces, repositories, and repo-scoped tokens using Wrangler. Private beta
List Artifacts namespaces
npx wrangler artifacts namespaces list
yarn wrangler artifacts namespaces list
pnpm wrangler artifacts namespaces list
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile
Get an Artifacts namespace
npx wrangler artifacts namespaces get <NAME>
yarn wrangler artifacts namespaces get <NAME>
pnpm wrangler artifacts namespaces get <NAME>
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile
Create an Artifacts repository
npx wrangler artifacts repos create <NAME>
yarn wrangler artifacts repos create <NAME>
pnpm wrangler artifacts repos create <NAME>
-
<NAME> string required
The Artifacts repository name
-
--namespace string required
The Artifacts namespace name
-
--description string
An optional description for the repository
-
--default-branch string
The default branch for the repository
-
--read-only boolean
Create the repository as read-only
-
--json boolean default: false
Return output as JSON
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile
List Artifacts repositories in a namespace
npx wrangler artifacts repos list
yarn wrangler artifacts repos list
pnpm wrangler artifacts repos list
-
--namespace string required
The Artifacts namespace name
-
--json boolean default: false
Return output as JSON
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile
Get an Artifacts repository
npx wrangler artifacts repos get <NAME>
yarn wrangler artifacts repos get <NAME>
pnpm wrangler artifacts repos get <NAME>
-
<NAME> string required
The Artifacts repository name
-
--namespace string required
The Artifacts namespace name
-
--json boolean default: false
Return output as JSON
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile
Delete an Artifacts repository
npx wrangler artifacts repos delete <NAME>
yarn wrangler artifacts repos delete <NAME>
pnpm wrangler artifacts repos delete <NAME>
-
<NAME> string required
The Artifacts repository name
-
--namespace string required
The Artifacts namespace name
-
--force boolean alias: --y default: false
Skip confirmation
-
--json boolean default: false
Return output as JSON
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile
Issue a repo-scoped Artifacts token
npx wrangler artifacts repos issue-token <REPO>
yarn wrangler artifacts repos issue-token <REPO>
pnpm wrangler artifacts repos issue-token <REPO>
-
<REPO> string required
The Artifacts repository name
-
--namespace string required
The Artifacts namespace name
-
--scope string
The token scope
-
--ttl number
The token TTL in seconds
-
--json boolean default: false
Return output as JSON
-
--v boolean alias: --version
Show version number
-
--cwd string
Run as if Wrangler was started in the specified directory instead of the current working directory
-
--config string alias: --c
Path to Wrangler configuration file
-
--env string alias: --e
Environment to use for operations, and for selecting .env and .dev.vars files
-
--env-file string
Path to an .env file to load - can be specified multiple times - values from earlier files are overridden by values in later files
-
--install-skills boolean default: false
Install Cloudflare skills for detected AI coding agents before running the command
-
--profile string
Use a specific auth profile