routeRegistry

tcmts.cli.commands.routeRegistry · #acvqwn3r · term · runs anywhere

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

export const routeRegistry = () =>
  command(
    name("registry"),
    port(8080),
    option(name("host"), schema(text("127.0.0.1"))),
    option(name("dir"), schema(text("tcm-registry"))),
    option(name("base"), schema(text(null))),
  )

uses

used by