routeRemote

tcmts.cli.commands.routeRemote · #7fos6ntm · term · runs anywhere

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

export const routeRemote = () =>
  command(
    name("remote"),
    command(
      name("add"),
      argument(name("remote"), schema(text())),
      argument(name("url"), schema(text())),
      option(name("token"), schema(text(null))),
      option(name("fingerprint"), schema(text(null))),
    ),
    command(name("rm"), argument(name("remote"), schema(text()))),
  )

uses

used by