agentuity-cli-profile-createSkill agentuity-cli-profile-create

Agentuity CLI 配置文件创建工具 - 用于快速创建和管理命令行工具的配置配置文件。支持多环境配置切换,适用于开发、测试和生产环境的配置管理。关键词:Agentuity CLI, 配置文件创建, 配置管理, 多环境切换, 命令行工具, DevOps工具

DevOps 0 次安装 0 次浏览 更新于 2/28/2026

name: agentuity-cli-profile-create description: 创建新的配置配置文件 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” argument-hint: “<名称>” metadata: command: “agentuity profile create” tags: “mutating creates-resource fast”

配置文件创建

创建新的配置配置文件

用法

agentuity profile create <名称> [选项]

参数

参数 类型 必填 描述
<名称> 字符串 -

选项

选项 类型 必填 默认值 描述
--switch 布尔值 - 切换到该配置文件(如果存在多个)

示例

创建新项目:

bunx @agentuity/cli profile create production

使用切换选项:

bunx @agentuity/cli profile create staging --switch

创建新项目:

bunx @agentuity/cli profile create development

输出

返回 JSON 对象:

{
  "success": "boolean",
  "name": "string",
  "path": "string"
}
字段 类型 描述
success 布尔值 创建是否成功
name 字符串 配置文件名称
path 字符串 配置文件路径