API 参考 / @142vip/changelog / ChangelogCliOptions
接口: ChangelogCliOptions
定义于: changelog/src/core/changelog.interface.ts:96
CLI / 程序化调用入参(合并 VipCommander 通用选项)
theme_extends
属性
dryRun?
optionaldryRun?:boolean
定义于: utils/src/pkgs/commander.ts:12
注册 --dry-run(子命令 -h 展示,紧挨 --help 上方)
继承自
from?
optionalfrom?:string
定义于: changelog/src/core/changelog.interface.ts:100
起始 Git 标签或 commit
github?
optionalgithub?:string
定义于: changelog/src/core/changelog.interface.ts:104
远程仓库 owner/repo;默认从 git remote 推断
help?
optionalhelp?:boolean
定义于: utils/src/pkgs/commander.ts:18
注册 -h, --help(置于 Options 末尾)
继承自
name?
optionalname?:string
定义于: changelog/src/core/changelog.interface.ts:106
Release / CHANGELOG 版本标题;默认与 to 一致
output?
optionaloutput?:string
定义于: changelog/src/core/changelog.interface.ts:110
CHANGELOG.md 输出路径(建议绝对路径)
prerelease?
optionalprerelease?:boolean
定义于: changelog/src/core/changelog.interface.ts:108
是否标记为 GitHub Pre-release;默认 false(Latest)
scopeName?
optionalscopeName?:string
定义于: changelog/src/core/changelog.interface.ts:112
Monorepo 子包 scope 名(仅收录该 scope 的提交)
to?
optionalto?:string
定义于: changelog/src/core/changelog.interface.ts:102
结束 Git 标签或 commit;默认当前 HEAD 对应 tag / 分支
token?
optionaltoken?:string
定义于: changelog/src/core/changelog.interface.ts:98
GitHub Personal Access Token;亦可 GITHUB_TOKEN / TOKEN 环境变量
trace?
optionaltrace?:boolean
定义于: utils/src/pkgs/commander.ts:16
注册 --trace(根程序 -h 展示;开启后 VipConsole.trace 输出执行日志)
继承自
vip?
optionalvip?:boolean
定义于: utils/src/pkgs/commander.ts:14
注册 --vip(子命令 -h 展示,紧挨 --help 上方)