siokas / denomander

Deno command-line interfaces made easy

Home Page:https://doc.deno.land/https/deno.land/x/denomander/docs.ts

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"rest" operator

DreamTexX opened this issue · comments

Is it possible to add an option that pics up all the remaining args? like

program.command("test [args...]").action(({args}) => {
  console.log(args);
});
$ deno run test.ts test foo bar foo2 bar2
foo bar foo2 bar2

Done (b6595d5)! Thanx for the suggestion✅!!!