@dasha.ai/cli

中文文档
0.10.0发布于 2026/09/18Apache-2.0近 30 天下载 2790

管理 Dasha 应用程序和用户账户的命令行界面工具

中文使用文档
文档目录3 节
  1. 安装
  2. 使用量
  3. 许可证

达莎CLI

用于管理的命令行工具 达莎 大赦国际 应用程序和用户账户.

所有特性在方案上也可使用 达莎SDK。 。 。 .

安装

全球安装:

> npm install --global "@dasha.ai/cli"

每个项目的安装(发射时间: npx dasha:

> npm install --save-dev "@dasha.ai/cli"

使用量

使用 dasha <command> --help 为特定命令寻求帮助.

Usage: dasha [options] [command]

Options:
  -V, --version   output the version number
  -h, --help      display help for command

Commands:
  account         Dasha.AI account management
  app             application management
  diagnostics     diagnostic information
  group           group settings management
  nlu             nlu service api
  profiler        Data download manager for the profiler
  sip             SIP configuration settings
  tts             text-to-speech synthesis
  help [command]  display help for command
Usage: dasha account [options] [command]

Dasha.AI account management

Options:
  -h, --help                                          display help for command

Commands:
  add [options] [accountName]                         add a new account
  create [options] [accountName]                      Deprecated. use 'add'
  info [accountName]                                  print account details
  list                                                list all known accounts
  login|register [options] [accountName]              log into an account
  remove [options] <accountName>                      remove an account
  rename [options] <oldAccountName> <newAccountName>  rename an account
  start-trial [options] [accountName]
  use <accountName>                                   set an account as current
  help [command]                                      display help for command
Usage: dasha diagnostics [options] [command]

diagnostic information

Options:
  -h, --help      display help for command

Commands:
  limits
  queues
  help [command]  display help for command
Usage: dasha group [options] [command]

group settings management

Options:
  -h, --help                    display help for command

Commands:
  create [options] <groupName>  add a new group
  delete [options] <groupName>  delete a group
  list [options]                list all existing groups
  update [options] <groupName>  update group settings
  help [command]                display help for command
Usage: dasha nlu [options] [command]

nlu service api

Options:
  -h, --help                  display help for command

Commands:
  recognize [options] [text]  train dataset and parse text with provided skills
  train [options]             train dataset configured by provided .dashaapp file
  help [command]              display help for command
Usage: dasha profiler [options] [command]

Data download manager for the profiler

Options:
  -h, --help          display help for command

Commands:
  download [options]  Download the profiler data
  help [command]      display help for command
Usage: dasha sip [options] [command]

SIP configuration settings

Options:
  -h, --help                              display help for command

Commands:
  create-inbound [options] <configName>   create an inbound SIP configuration
  delete-inbound [options] <configName>   delete an inbound SIP configuration
  list-inbound                            list available inbound SIP configurations
  update-inbound [options] <configName>   update an inbound SIP configuration
  create-outbound [options] <configName>  create an outbound SIP configuration
  delete-outbound [options] <configName>  delete an outbound SIP configuration
  list-outbound                           list available outbound SIP configurations
  update-outbound [options] <configName>  update an outbound SIP configuration
  help [command]                          display help for command
Usage: dasha tts [options] [command]

text-to-speech synthesis

Options:
  -h, --help                   display help for command

Commands:
  synthesize [options] <text>
  help [command]               display help for command
Usage: dasha app [options] [command]

application management

Options:
  -h, --help               display help for command

Commands:
  deploy [path]            deploy an application to the platform
  download <appId> [path]  Download the application package
  info <appId>             Get the application information
  list                     List of deployed applications
  run [options] [path]     run single conversation
  help [command]           display help for command
Usage: dasha app deploy [options] [path]

deploy an application to the platform

Options:
  -h, --help  display help for command
Usage: dasha app download [options] <appId> [path]

Download the application package

Options:
  -h, --help  display help for command
Usage: dasha app info [options] <appId>

Get the application information

Options:
  -h, --help  display help for command
Usage: dasha app list [options]

List of deployed applications

Options:
  -h, --help  display help for command
Usage: dasha app run [options] [path]

run single conversation

Options:
  --chat                                             connect via chat
  --sip <sipconfig>                                  connect via sip
  --tts <ttsconfig>                                  tts config (default: "default")
  --stt <sttconfig>                                  stt config (default: "default")
  --noiseVolume <noiseVolume>                        Noise volume: 0..1
  --interlocutorPauseDelay <interlocutorPauseDelay>  Length of expected pause in seconds at the end of human speech
  --debug-log                                        Show debug logs
  --input <input...>                                 Input arguments in form arg1=value1 arg2=value2 and etc
  --inputFile <inputFile>                            Read input arguments from file
  -h, --help                                         display help for command

许可证

此套件在 Apache 许可证,2.0版本。 。 。 .

版本与发布记录

@dasha.ai/cli 共发布 31 个版本,首次发布于 2020/12/29;过去 12 个月发布了 3 个版本。

版本发布日期距今
0.10.0latest2026/09/181 个月前
0.9.02026/09/012 个月前
0.8.02026/04/276 个月前
0.7.12025/09/091.2 年前
0.7.02025/02/041.8 年前
0.6.152024/10/012 年前

其他发布通道:beta → 0.4.0。

关于 @dasha.ai/cli 的常见问题

@dasha.ai/cli 是什么?

管理 Dasha 应用程序和用户账户的命令行界面工具

如何安装 @dasha.ai/cli?

在项目目录运行 npm install @dasha.ai/cli,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 dasha,可以用 npx dasha 直接运行。

@dasha.ai/cli 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/dasha.ai__cli 是否存在。

@dasha.ai/cli 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@dasha.ai/cli 可以商用吗?

@dasha.ai/cli 使用 Apache-2.0 许可。宽松许可:允许商业使用、修改和再分发,并附带明确的专利授权;分发时需保留许可与 NOTICE 文件,修改过的文件要注明改动。以上为概括,不构成法律意见,请以许可原文为准。

@dasha.ai/cli 的下载量有多少?

根据 npm 官方下载统计,@dasha.ai/cli 在 2026/10/12 – 2026/11/10 这 30 天内被下载 2,790 次,日均约 93 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@dasha.ai/cli 还在维护吗?

最新版本 0.10.0 发布于 2026/09/18(1 个月前);至今共发布 31 个版本,其中过去 12 个月发布了 3 个;首次发布于 2020/12/29。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。