@fluid-app/fluid-cli-channels

中文文档
0.1.695发布于 2026/11/15TypeScriptES Module近 30 天下载 13.3万

Fluid CLI plugin for sales channels — connect TikTok Shop, Meta, or Google Merchant Center, choose which products to list, check sync status, and disconnect

原始使用文档

@fluid-app/fluid-cli-channels

Fluid CLI plugin for sales channels: connect TikTok Shop, Meta (Facebook and Instagram catalogs), or Google Merchant Center to a Fluid company, choose which products to list, check how they synced, and disconnect.

npm install -g @fluid-app/fluid-cli @fluid-app/fluid-cli-channels
fluid login

fluid channels walk tiktok                           # interactive: connect, pick products, fix issues
fluid channels list                                  # which channels are connected
fluid channels connect tiktok --open                 # print (and open) the sign-in URL
fluid channels status tiktok                         # connection + listing counts
fluid channels warehouse tiktok 7301234567 --yes     # TikTok only: the warehouse to publish from
fluid channels catalog tiktok --all --yes            # every active product not already listed
fluid channels catalog tiktok --all --collection 12 --yes
fluid channels catalog tiktok --add 101,102 --yes    # only these products
fluid channels catalog tiktok --remove 102 --yes
fluid channels catalog tiktok                        # list the listings
fluid channels issues tiktok                         # failed or rejected listings, with fixes
fluid channels issues tiktok --retry --yes           # retry the failed publishes
fluid channels catalog tiktok --remove-all --yes     # take every product off the channel
fluid channels disconnect tiktok --yes

Channels: tiktok, meta, google.

walk is the interactive way through a whole setup in a terminal. It picks the channel (showing which are connected), prints and opens the sign-in link and checks the connection once you've approved, sets TikTok's warehouse, offers the whole catalog, whole collections, or products picked from a searchable list, and retries failed publishes. Type < to go back, > to skip a stage, and ? for the menu; every change asks before it runs. Scripts and agents use the other commands instead.

  • Connecting needs a person in a browser: connect prints the channel's sign-in URL (--open opens it). After they approve, the channel sends them back to Fluid, which saves the connection. Check it with status.
  • --all adds the active products that exist now. Products you create later aren't added automatically; run it again to add them. It skips products you removed earlier unless you pass --include-removed.
  • Disconnecting doesn't take products off the channel. Run catalog <channel> --remove-all --yes first if you want them gone.

Every command prints JSON; failures print a JSON error on stderr and exit non-zero. Commands that change live configuration ask for confirmation unless you pass --yes. The walkthroughs are the guided setups at https://docs.fluid.app/setup/overview.

版本与发布记录

@fluid-app/fluid-cli-channels 共发布 697 个版本,首次发布于 2026/10/02;过去 12 个月发布了 697 个版本。

版本发布日期距今
0.1.695latest2026/11/15今天
0.1.6942026/11/15今天
0.1.6932026/11/15今天
0.1.6922026/11/141 天前
0.1.6912026/11/141 天前
0.1.6902026/11/141 天前

关于 @fluid-app/fluid-cli-channels 的常见问题

@fluid-app/fluid-cli-channels 是什么?

Fluid CLI plugin for sales channels — connect TikTok Shop, Meta, or Google Merchant Center, choose which products to list, check sync status, and disconnect

如何安装 @fluid-app/fluid-cli-channels?

在项目目录运行 npm install @fluid-app/fluid-cli-channels,或使用 pnpm add / yarn add / bun add。

@fluid-app/fluid-cli-channels 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@fluid-app/fluid-cli-channels 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@fluid-app/fluid-cli-channels 需要什么版本的 Node.js?

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

@fluid-app/fluid-cli-channels 可以商用吗?

@fluid-app/fluid-cli-channels 使用 未声明 许可。package.json 没有声明许可证。没有许可证的代码默认保留全部权利,商用前请联系作者或查看仓库中的 LICENSE 文件。以上为概括,不构成法律意见,请以许可原文为准。

@fluid-app/fluid-cli-channels 的下载量有多少?

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

@fluid-app/fluid-cli-channels 还在维护吗?

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