routePatch

tcmts.cli.commands.routePatch · #tlpsmm2q · term · runs anywhere

import { message, text } from "#codebase/tcmts/cli/commands";
import { argument, command, name, option, schema, toggle } from "@bomb.sh/router";

export const routePatch = () =>
  command(
    name("patch"),
    message,
    argument(name("name"), schema(text(null))),
    option(name("old"), schema(text(null))),
    option(name("new"), schema(text(null))),
    option(name("edits"), schema(text(null))),
    toggle(name("all")),
    option(name("imports"), schema(text(null))),
    option(name("patches"), schema(text(null))),
  )

uses

used by