@kt3k/tku 1.0.11 → 1.1.0
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/main.js +4 -2
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -35,7 +35,9 @@ async function listFiles(repoPath, options = {}) {
|
|
|
35
35
|
g
|
|
36
36
|
] : [
|
|
37
37
|
g,
|
|
38
|
-
`${g}
|
|
38
|
+
`${g}/**`,
|
|
39
|
+
`**/${g}`,
|
|
40
|
+
`**/${g}/**`
|
|
39
41
|
]);
|
|
40
42
|
const isExcluded = picomatch(expanded);
|
|
41
43
|
files = files.filter((f) => !isExcluded(f));
|
|
@@ -182,7 +184,7 @@ function formatResult(result, options = {}) {
|
|
|
182
184
|
|
|
183
185
|
// src/main.ts
|
|
184
186
|
function printUsage() {
|
|
185
|
-
console.log(`Usage: tku [options] [path]
|
|
187
|
+
console.log(`Usage: npx @kt3k/tku [options] [path]
|
|
186
188
|
|
|
187
189
|
Options:
|
|
188
190
|
--encoding <encoding> Tiktoken encoding (default: o200k_base)
|