x/cliffy/examples/command/collect_options.ts
12345678910#!/usr/bin/env -S deno runimport { Command } from "../../command/command.ts";const { options } = await new Command() .option("-c, --color <color:string>", "read from file ...", { collect: true }) .parse(Deno.args);console.log(options);