routeTraces

tcmts.cli.commands.routeTraces · #o4qjqnku · term · runs anywhere

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

export const routeTraces = () =>
  command(
    name("traces"),
    argument(name("name"), schema(text(null))),
    option(name("since"), schema(text("24h"))),
    option(name("trace"), schema(text(null))),
    toggle(name("errors")),
    option(name("limit"), cli(["-n", "--limit"]), schema(count(20))),
  )

uses

used by