diff --git a/main.ts b/main.ts index f230e36..d0a325d 100644 --- a/main.ts +++ b/main.ts @@ -23,10 +23,10 @@ await new Command() { required: true }, ) .arguments('') - .action(async ({ group, endpoint, apiKey, onlyAdd }, domain) => { + .action(async ({ group, endpoint, apiKey, onlyAdd }, filePath) => { const redmine = new Redmine({ endpoint, apiKey }) - const file = await Deno.readTextFile(domain) + const file = await Deno.readTextFile(filePath) const csv = CSV.parse(file.replaceAll(';', ','), { skipFirstRow: true,