import { args } from "https://deno.land/x/feomasto@v0.1.0/priv/deps.ts";
const { CollectOption } = args;
Declare an option that collects value after flags
CLI example: --opt foo --opt bar --opt baz
→ ["foo", "bar", "baz"]
type
<Name extends string, Value>(name: Name, descriptor: CollectOptionDescriptor<Value>) => FlagType<Name, Value[]>