amenbo 19.0.0 — 一个分类可以有不止一个答案
一个分类现在可以设成在一条记录上取好几个答案,于是同时落在两边的工作,两边都记得下来。16.0.0 开始的决定记录那些改动,到这个版本也都齐了。
分类现在可以在同一条记录上取不止一个答案。16.0.0 开始的决定记录那些改动,到这个版本也都齐了。
一个分类可以有好几个答案
有些工作同时落在两边——一个在 iOS 和 Android 上都会出现的崩溃。分类以前在一条记录上只留一个答案,逼你挑一个代表,另一边就没有记下来。
创建分类时递 --cardinality multi,或者在画面上的**“管理分类”面板里勾上多选**。
$ amenbo dimension add --name Platform --cardinality multi --show-on-card
✓ Created dimension: Platform (AMB-DIM-…)
$ amenbo dimension set AMB-T-… Platform ios
$ amenbo dimension set AMB-T-… Platform android
$ amenbo task show AMB-T-…
AMB-T-… The crash on both handsets
dimensions: Platform=ios, Platform=android
用其中哪一个值收窄都找得到它,卡片上两个都显示。拿掉一个,剩下的还在:
$ amenbo dimension unset AMB-T-… Platform ios
✓ Cleared value on task AMB-T-…
$ amenbo task show AMB-T-…
dimensions: Platform=android
| 设置 | 一条记录上的值 | 再加一个值 | 能不能给看板分组 |
|---|---|---|---|
| single(默认) | 一个 | 把原来的替换掉 | 能 |
| multi | 想要几个都行 | 留着原来的,再把这个加上 | 不能 |
用多选的分类给看板分组,会把同一条记录同时放进好几列,而一列说的是一条任务在哪里——所以多选的分类不会作为分组的选项出现。
只要还有记录用好几个值来回答,回到 single 就会被拒绝,而且拒绝时会说出有几条:
$ amenbo dimension update Platform --cardinality single
Error: 1 record(s) answer 'Platform' with more than one value,
so it cannot go back to single-select — clear the extra values off them first
决定记录在记录的当场就能分类
在 16.0.0 里你已经可以给决定分类,但那是记录之后另外一步。现在你在同一条命令里就说得出来:
$ amenbo decision add --title "Ship updates through a prerelease first" \
--body "..." --dim "Area=sync"
✓ Recorded decision: Ship updates through a prerelease first (AMB-D-…)
如果必填的分类还空着,记录时会说出还剩哪一个:
$ amenbo decision add --title "Keep the store on this device" --body "..."
✓ Recorded decision: Keep the store on this device (AMB-D-…)
still to classify: Area — pass --dim <axis>=<value> here, or fill it in with
`amenbo dimension set AMB-D-… <axis> <value>` (accepting it is refused until then)
就这么空着想把它定下来,会被拒绝,并说出要填的是什么:
$ amenbo decision accept AMB-D-… --yes
Error: this decision carries no value on Area, which this project requires
Hint: This project requires a value on that axis before a decision can be settled.
决定现在还会显示是谁定下的,和什么时候定的排在一起:
$ amenbo decision show AMB-D-…
AMB-D-… Keep the store on this device
status: accepted
recorded: 2026-09-02T15:33:16Z
decided: 2026-09-02T15:33:22Z by AI
在画面上,记录决定的表单会问这个项目必填的那些分类,决定的列表也和看板一样能按分类收窄。
选一个分类分的是哪一边
分类在任务和决定记录上都放得上,但有些只在一边才有意思。--applies-to 用来挑:
$ amenbo dimension update Platform --applies-to task
✓ Updated dimension: AMB-DIM-…
$ amenbo dimension show Platform
AMB-DIM-… Platform (d1)
kind: multi, show-on-card, tasks only
在它不分类的那一边收窄,会被拒绝:
$ amenbo decision list --filter "dim:Platform=ios"
Error: dimension 'Platform' does not classify decisions,
so `dim:` cannot narrow decisions by it
画面上也一样,收窄到任务的分类不再出现在决定的页面上。已经放上去的值不会被删掉。
其他改动
- 画面上的日文改好了——有些说法要读两遍才明白。状态的名字也和另外八种语言画面上的对齐了。
- 新的决定会自动带上“当前”的值——在设成时间轴的那个分类上,周期覆盖今天的那个值会放上去,和任务上一样。记录的时候不再问你。
- 词够得到决定记录——
amenbo search现在按分类的值的名字也能找到决定记录。 - 卡片落到那一列里的哪个位置都进得去——以前看着已经在列上了,有时却落不进去。
- 分类的名字不能再带空白——带空白的名字在
--filter里点不出来。已经有的名字照常能用。 amenbo config把config set写进去的每一项都读得回来——有些项写得进去,却不显示出来。
获取方式
从 最新版本 打开你所用操作系统的安装程序。不需要管理员权限。
- macOS——
.pkg,Apple 芯片和 Intel 各一个(GUI 和 CLI 装在一起) - Windows——setup
.exe(GUI 和 CLI 装在一起) - Linux——GUI 是 AppImage;
amenbo命令来自 CLI 的安装程序
更新方式:在 GUI 上,“有更新版本可用”的横幅会就地完成更新。如果你只装了 CLI,amenbo update --apply 会把它换掉。
存储的数据格式往上抬——在这个版本上第一次启动时迁移,迁移前的备份会自动留一份。迁移之后,更早的版本就打不开它了。GUI 和 CLI 由同一个安装程序一起更新,所以别把其中一边留在旧版本上。
第一次用?请看 开始使用。