Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/feomasto/priv/deps.ts>args.CollectOption

Sync posts from Mastodon into FeoBlog
Go to Latest
variable args.CollectOption
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[]>