@kud/ai-conventional-commit-cli 0.12.0 → 0.12.1
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/dist/index.js +5 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -669,7 +669,7 @@ async function runRefine(config, options) {
|
|
|
669
669
|
// package.json
|
|
670
670
|
var package_default = {
|
|
671
671
|
name: "@kud/ai-conventional-commit-cli",
|
|
672
|
-
version: "0.12.
|
|
672
|
+
version: "0.12.1",
|
|
673
673
|
type: "module",
|
|
674
674
|
description: "Opinionated, style-aware AI assistant for crafting and splitting git commits (opencode-based, provider-agnostic).",
|
|
675
675
|
bin: {
|
|
@@ -1082,9 +1082,13 @@ var RewordCommand = class extends Command {
|
|
|
1082
1082
|
]
|
|
1083
1083
|
});
|
|
1084
1084
|
hash = Option.String({ required: false });
|
|
1085
|
+
style = Option.String("--style", { required: false, description: "Title style override" });
|
|
1086
|
+
model = Option.String("-m,--model", { required: false, description: "Model override" });
|
|
1085
1087
|
async execute() {
|
|
1086
1088
|
const { runReword } = await import("./reword-FE5N4MGV.js");
|
|
1087
1089
|
const config = await loadConfig();
|
|
1090
|
+
if (this.style) config.style = this.style;
|
|
1091
|
+
if (this.model) config.model = this.model;
|
|
1088
1092
|
let target = this.hash;
|
|
1089
1093
|
if (!target) {
|
|
1090
1094
|
try {
|
package/package.json
CHANGED