routeTcm
tcmts.cli.commands.routeTcm · #ghnqxfwe · term · runs anywhere
import { fresh, into, text } from "#codebase/tcmts/cli/commands";
import { IR_VERSION } from "#codebase/tcmts/core/hash";
import { TS_VERSION } from "#codebase/tcmts/core/program";
import { cli, command, name, option, schema, version } from "@bomb.sh/router";
export const routeTcm = () =>
command(
name("tcm"),
version(`hash format v${IR_VERSION}, TypeScript ${TS_VERSION}`),
fresh,
into,
option(name("directory"), cli(["-C"]), schema(text(null))),
option(name("build"), schema(text(null))),
)
uses
used by