@anaella/cli

中文文档
0.13.0发布于 2026/11/04MITES Module近 30 天下载 3036

Command-line tool for anaella.com — schedule and publish social posts.

原始使用文档
文档目录4 节
  1. Install
  2. Auth
  3. Commands
  4. Global options

@anaella/cli

Command-line tool for anaella.com: one catalog of tools over the accounts you connected (mailboxes, calendars, Drive, Docs and Sheets, Slack, Search Console, Analytics, ads, reviews, Stripe, PayPal, n8n, a phone number, a meeting notetaker, social networks…). find what you need, explain its input, do it.

Install

npm i -g @anaella/cli
# or run without installing:
npx @anaella/cli --help

Auth

anaella login                       # sign in in the browser (over SSH: paste the callback address)
anaella login --api-key ana_xxx     # or save a key directly
echo ana_xxx | anaella login        # or pipe it on stdin
anaella logout                      # remove the saved key

The key is resolved with this precedence: --api-key flag > ANAELLA_API_KEY env var > the file saved by anaella login (~/.config/anaella/config.json, or under $XDG_CONFIG_HOME if set).

Commands

anaella find "unread emails"                       # capabilities for a task
anaella explain email.list                         # its input schema and price
anaella do email.list --query is:unread             # run it: fields as flags (names from explain)
anaella do email.send --to [email protected] --to [email protected] --subject Hi --text "Hello" --draft
anaella do email.list --channel [email protected] --query is:unread   # pick an account by name, email or id
anaella do email.list -i '{"query":"is:unread"}'   # or the whole input as JSON
anaella do media.image.generate -i '{"prompt":"a fox"}' --wait   # async: wait for the job
anaella job <jobId>                                # status, output and cost of a job

anaella channels                                   # connected accounts (their ids = channelId)
anaella connect google-search-console              # a connect link for an account
anaella connect-account imap -f email=… -f password=… -f imapHost=… -f smtpHost=…
anaella remove-account <channelId>                 # disconnect it (a phone number is released)
anaella upload ./photo.jpg                         # local media into the library
anaella balance                                    # wallet balance

Social posts go through the catalog like everything else:

anaella do social.post.create -i '{"channels":["<channelId>"],"text":"hello","when":"now"}'
anaella do social.posts.list
anaella do social.post.analytics -i '{"postId":"<id>"}'

(post, posts, get, update, delete and analytics were removed in 0.11.0: use social.post.create, social.posts.list, social.post.get, social.post.update, social.post.delete and social.post.analytics / social.analytics.get.)

Global options

  • --api-key <key>: override the resolved API key for this invocation.
  • --api-url <url>: override the API base URL (default https://api.anaella.com).
  • --json: print raw JSON instead of a table.

版本与发布记录

@anaella/cli 共发布 23 个版本,首次发布于 2026/07/02;过去 12 个月发布了 23 个版本。

版本发布日期距今
0.13.0latest2026/11/043 天前
0.12.32026/11/035 天前
0.12.22026/11/035 天前
0.12.12026/11/035 天前
0.12.02026/10/308 天前
0.11.02026/10/2711 天前

关于 @anaella/cli 的常见问题

@anaella/cli 是什么?

Command-line tool for anaella.com — schedule and publish social posts.

如何安装 @anaella/cli?

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

@anaella/cli 支持 TypeScript 吗?

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

@anaella/cli 支持 ESM 还是 CommonJS?

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

@anaella/cli 可以商用吗?

@anaella/cli 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@anaella/cli 的下载量有多少?

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

@anaella/cli 还在维护吗?

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