@oomfware/cgr 0.2.0 → 0.2.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.mjs +1 -1
- package/package.json +1 -1
- package/src/commands/ask.ts +6 -3
package/dist/index.mjs
CHANGED
|
@@ -387,7 +387,7 @@ const schema$1 = object({
|
|
|
387
387
|
"sonnet",
|
|
388
388
|
"haiku"
|
|
389
389
|
]), { description: message`model to use for analysis` }), "haiku"),
|
|
390
|
-
deep: flag("-d", "--deep", { description: message`clone full history (enables git log/blame/show)` }),
|
|
390
|
+
deep: withDefault(flag("-d", "--deep", { description: message`clone full history (enables git log/blame/show)` }), false),
|
|
391
391
|
with: withDefault(multiple(option("-w", "--with", string(), { description: message`additional repository to include` })), []),
|
|
392
392
|
remote: argument(string({ metavar: "REPO" }), { description: message`git remote URL (http/https/ssh), optionally with #branch` }),
|
|
393
393
|
question: argument(string({ metavar: "QUESTION" }), { description: message`question to ask about the repository` })
|
package/package.json
CHANGED
package/src/commands/ask.ts
CHANGED
|
@@ -39,9 +39,12 @@ export const schema = object({
|
|
|
39
39
|
}),
|
|
40
40
|
'haiku',
|
|
41
41
|
),
|
|
42
|
-
deep:
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
deep: withDefault(
|
|
43
|
+
flag('-d', '--deep', {
|
|
44
|
+
description: message`clone full history (enables git log/blame/show)`,
|
|
45
|
+
}),
|
|
46
|
+
false,
|
|
47
|
+
),
|
|
45
48
|
with: withDefault(
|
|
46
49
|
multiple(
|
|
47
50
|
option('-w', '--with', string(), {
|