routeView

tcmts.cli.commands.routeView · #l42fff7z · term · runs anywhere

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

export const routeView = () =>
  command(
    name("view"),
    argument(name("names"), multiple(), schema(words)),
    option(name("lines"), schema(text(null))),
    option(name("grep"), schema(text(null))),
    readBranch,
  )

uses

used by