Releases: ArcletProject/Alconna
Releases · ArcletProject/Alconna
Alconna 1.8.14
- 修复 shortcut 对非字符串参数的处理
Full Changelog: v1.8.13...v1.8.14
Alconna 1.8.13
AllParam
现在不会将剩余字符串参数进行分割
Full Changelog: v1.8.12...v1.8.13
Alconna 1.8.12
What's Changed
- ⬆️ Bump tarina from 0.4.4 to 0.5.1
- ⬆️ Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in #87
Full Changelog: v1.8.11...v1.8.12
Alconna 1.8.11
Alconna 1.8.10
Alconna 1.8.9
Alconna 1.8.8
Alconna 1.8.7
What's Changed
- 头部解析逻辑拆分
- 修复 manager 更新命令时未使用 Argv 的 cache 问题
- ⬆️ Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in #86
Full Changelog: v1.8.6...v1.8.7
Alconna 1.8.6
改进
- 帮助信息现在会显示命令的快捷指令
新增
-
Alconna.shortcut
新增参数humanized
,用于指定快捷指令的可读性文本以供显示from arclet.alconna import Alconna, Args alc = Alconna("test", Args["foo", int]) alc.shortcut("t(\d+)", command="test {0}", humanized="t[数字]")
-
CommandMeta
新增属性hide_shortcut
, 用于在帮助信息里隐藏命令的快捷指令
Full Changelog: v1.8.5...v1.8.6
Alconna 1.8.5
Full Changelog: v1.8.4...v1.8.5