on

tcmts.cli.commands.on · #c7bcr4yh · term · runs anywhere

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) }))

uses

used by