on
A toggle that's on unless turned off (--no-run).
import { valid } from "#codebase/tcmts/cli/commands"; export const on = valid<boolean>((v) => ({ value: v === undefined ? true : Boolean(v) }))
A toggle that's on unless turned off (--no-run).
import { valid } from "#codebase/tcmts/cli/commands"; export const on = valid<boolean>((v) => ({ value: v === undefined ? true : Boolean(v) }))