routeEdit

tcmts.cli.commands.routeEdit · #fos4fvru · term · runs anywhere

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

export const routeEdit = () =>
  command(
    name("edit"),
    argument(name("names"), multiple(), schema(words)),
    option(name("file"), schema(text(null))),
    toggle(name("force")),
  )

uses

used by