list

tcmts.cli.commands.list · #6hp6hfwc · term · runs anywhere

A comma-separated list (--with a,b).

import { valid } from "#codebase/tcmts/cli/commands";

export const list = valid<string[]>((v) => ({ value: typeof v === "string" ? v.split(",").filter(Boolean) : [] }))

uses

used by