command
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jun 9, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
say.go 是一个综合示例,展示 Cortana 的主要功能:
- 多层次子命令注册
- 结构体标签定义参数(cortana 和 lsdd 两种标签)
- 命令标题和描述(用于帮助文档)
- 命令别名
- 配置文件支持(JSON 格式)
- 通过 --config/-c 选项动态指定配置文件路径
Source Files
¶
Click to show internal directories.
Click to hide internal directories.