routeHistory

tcmts.cli.commands.routeHistory · #bxwcnxqm · term · runs anywhere

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

export const routeHistory = () =>
  command(
    name("history"),
    argument(name("n"), schema(count(null))),
    option(name("limit"), cli(["-n", "--limit"]), schema(count(null))),
    toggle(name("all")),
    readBranch,
  )

uses

used by