@yizhuan-cli/cli 0.1.2 → 0.1.3-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -34,5 +34,6 @@ yizhuan config path
34
34
  yizhuan config show
35
35
  yizhuan execute --ability membership
36
36
  yizhuan execute --ability works --query "百家号昨天新增了哪些作品"
37
+ yizhuan execute --ability accounts --params "{\"mode\":\"public_search\",\"platform\":\"toutiao\",\"keyword\":\"张三\"}"
37
38
  yizhuan execute --ability radar --params "{\"mode\":\"following\"}"
38
39
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yizhuan-cli/cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3-beta.0",
4
4
  "description": "易撰命令行工具,用于通过 API Key 查询易撰真实数据。",
5
5
  "private": false,
6
6
  "type": "module",
package/src/index.js CHANGED
@@ -14,6 +14,7 @@ const ABILITIES = new Set([
14
14
  'radar',
15
15
  'membership',
16
16
  'favorites',
17
+ 'public_author_search',
17
18
  'author_query',
18
19
  'statistics',
19
20
  'content_search',
@@ -36,11 +37,12 @@ Usage:
36
37
 
37
38
  Abilities:
38
39
  works 作品查询
39
- accounts 作者查询
40
+ accounts 作者/账号查询,支持 mode=search/public_search
40
41
  hot_topics 热点查询
41
42
  radar 雷达查询
42
43
  membership 会员查询
43
44
  favorites 收藏查询
45
+ public_author_search 作者全网搜索,兼容低层能力
44
46
 
45
47
  Config:
46
48
  ${CONFIG_PATH}