@adobe/aio-cli-plugin-app-templates

中文文档
2.1.4发布于 2026/09/24Apache-2.0CommonJS近 30 天下载 2.5万

发现、安装、卸载、提交和删除 Adobe 应用程序构建模板

中文使用文档
文档目录8 节
  1. aio templates
  2. aio templates discover
  3. aio templates info
  4. aio templates install PATH
  5. aio templates remove NAME
  6. aio templates rollback
  7. aio templates submit NAME GITHUBREPOURL
  8. aio templates uninstall PACKAGE-NAME

aio-cli-plugin-app-templates (英语:aio-cli-plugin-app-templates) 相接器

发现、安装、卸载、提交和删除 Adobe 应用程序构建模板


oclif Version Downloads/week Node.js CI Github Pull Requests Codecov Coverage

使用量

aio plugins:install @adobe/aio-cli-plugin-app-templates
## OR
aio discover -i
aio aio-cli-plugin-app-templates --help

图标

aio templates

发现、安装或卸载新模板到现有的 Adobe 开发者 App 构建者 App

USAGE
  $ aio templates [-v]

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Discover, install, or uninstall a new template into an existing Adobe Developer App Builder App

参见代码 : src/commands/templates/index.js 互联网档案馆的存檔,存档日期2013-12-02

aio templates discover

要安装的发现 App 构建器模板

USAGE
  $ aio templates discover [-v] [-i] [-f publishDate|names|adobeRecommended] [-o asc|desc]

FLAGS
  -f, --sort-field=<option>  [default: adobeRecommended] which column to sort, use the sort-order flag to specify sort
                             direction
                             <options: publishDate|names|adobeRecommended>
  -i, --interactive          interactive install mode
  -o, --sort-order=<option>  [default: desc] sort order for a column, use the sort-field flag to specify which column to
                             sort
                             <options: asc|desc>
  -v, --verbose              Verbose output

DESCRIPTION
  Discover App Builder templates to install

ALIASES
  $ aio templates disco

参见代码 : src/命令/平板/发现.js

aio templates info

列出安装的所有 App 构建器模板

USAGE
  $ aio templates info [-v] [-y | -j] [-s]

FLAGS
  -j, --json               output raw json
  -s, --required-services  includes services required by a template in the output
  -v, --verbose            Verbose output
  -y, --yml                output yml

DESCRIPTION
  List all App Builder templates that are installed

参见代码 : src/commands/templades/info.js 命令/调制解析器

aio templates install PATH

安装 Adobe 开发者 App 构建模板

USAGE
  $ aio templates install PATH [-v] [-y] [--install] [--process-install-config] [--template-options <value>]

ARGUMENTS
  PATH  path to the template (npm package name, file path, url). See examples

FLAGS
  -v, --verbose                      Verbose output
  -y, --yes                          Skip questions, and use all default values
      --[no-]install                 [default: true] Run npm installation after files are created
      --[no-]process-install-config  [default: true] Process the template install.yml configuration file, defaults to
                                     true, to skip processing install.yml use --no-process-install-config
      --template-options=<value>     Additional template options, as a base64-encoded json string

DESCRIPTION
  Install an Adobe Developer App Builder template

ALIASES
  $ aio templates i

EXAMPLES
  $ aio templates install https://github.com/org/repo

  $ aio templates install git+https://github.com/org/repo

  $ aio templates install ssh://github.com/org/repo

  $ aio templates install git+ssh://github.com/org/repo

  $ aio templates install file:../relative/path/to/template/folder

  $ aio templates install file:/absolute/path/to/template/folder

  $ aio templates install ../relative/path/to/template/folder

  $ aio templates install /absolute/path/to/template/folder

  $ aio templates install npm-package-name

  $ aio templates install npm-package-name@tagOrVersion

  $ aio templates install @scope/npm-package-name

  $ aio templates install @scope/npm-package-name@tagOrVersion

参见代码 : src/commands/templates/install.js 互联网档案馆的存檔,存档日期2013-12-02

aio templates remove NAME

从模板注册中删除 Adobe 开发者 App 构建器模板

USAGE
  $ aio templates remove NAME [-v]

ARGUMENTS
  NAME  The name of the package implementing the template on npmjs.com

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Remove an Adobe Developer App Builder template from the Template Registry

ALIASES
  $ aio templates rm

EXAMPLES
  $ aio templates remove @adobe/app-builder-template

参见代码 : src/commands/templades/ remove.js 命令/平板

aio templates rollback

清除所有已安装的模板

USAGE
  $ aio templates rollback [-v] [-i] [-l] [-c]

FLAGS
  -c, --[no-]confirm  confirmation needed for clear (defaults to true)
  -i, --interactive   interactive clear mode
  -l, --list          list templates that will be uninstalled
  -v, --verbose       Verbose output

DESCRIPTION
  Clears all installed templates

参见代码 : src/命令/平板/回滚.js

aio templates submit NAME GITHUBREPOURL

提交 Adobe 开发者 App 构建模板

USAGE
  $ aio templates submit NAME GITHUBREPOURL [-v]

ARGUMENTS
  NAME           The name of the package implementing the template on npmjs.com
  GITHUBREPOURL  A link to the Github repository containing the package's source code

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Submit an Adobe Developer App Builder template

ALIASES
  $ aio templates sub

EXAMPLES
  $ aio templates submit @adobe/app-builder-template https://github.com/adobe/app-builder-template

参见代码 : src/commands/templades/sumit.js 命令/标本/标本

aio templates uninstall PACKAGE-NAME

解除安装 Adobe 开发者 App 构建器模板

USAGE
  $ aio templates uninstall PACKAGE-NAME [-v]

ARGUMENTS
  PACKAGE-NAME  package name of the template

FLAGS
  -v, --verbose  Verbose output

DESCRIPTION
  Uninstall an Adobe Developer App Builder template

ALIASES
  $ aio templates un

参见代码 : src/命令/平板/uninstall.js

捐款

欢迎捐款! 读取 贡献指南 更多信息.

许可证发放

这个项目根据Apache V2许可证获得许可. 见 自由主义 更多信息.

版本与发布记录

@adobe/aio-cli-plugin-app-templates 共发布 31 个版本,首次发布于 2022/06/22;过去 12 个月发布了 5 个版本。

版本发布日期距今
2.1.4latest2026/09/241 个月前
2.1.32026/09/211 个月前
2.1.22026/09/101 个月前
2.1.12026/05/225 个月前
2.1.02026/05/085 个月前
2.0.32024/01/272 年前

其他发布通道:next → 2.0.2-pre.2024-01-27.743f96ee。

关于 @adobe/aio-cli-plugin-app-templates 的常见问题

@adobe/aio-cli-plugin-app-templates 是什么?

发现、安装、卸载、提交和删除 Adobe 应用程序构建模板

如何安装 @adobe/aio-cli-plugin-app-templates?

在项目目录运行 npm install @adobe/aio-cli-plugin-app-templates,或使用 pnpm add / yarn add / bun add。

@adobe/aio-cli-plugin-app-templates 支持 TypeScript 吗?

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

@adobe/aio-cli-plugin-app-templates 支持 ESM 还是 CommonJS?

以 CommonJS 形式发布,可以直接 require();在 ES Module 项目中也可以用 import 引入(Node.js 会把 module.exports 作为默认导出)。

@adobe/aio-cli-plugin-app-templates 需要什么版本的 Node.js?

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

@adobe/aio-cli-plugin-app-templates 可以商用吗?

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

@adobe/aio-cli-plugin-app-templates 的下载量有多少?

根据 npm 官方下载统计,@adobe/aio-cli-plugin-app-templates 在 2026/10/05 – 2026/11/03 这 30 天内被下载 24,764 次,日均约 825 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@adobe/aio-cli-plugin-app-templates 还在维护吗?

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