helpRemote

tcmts.cli.commands.helpRemote · #a7xlalm7 · term · runs anywhere

import type { Help } from "#codebase/tcmts/cli/commands";

export const helpRemote: Help = {
  description: "remotes to push to and pull from: list, add, rm",
  routes: {
    add: {
      description: "add a remote: a tcm serve URL or another codebase directory",
      params: {
        remote: "its name",
        url: "a URL or directory",
        token: "the server's token",
        fingerprint: "pin the server's certificate (sha256)",
      },
    },
    rm: {
      description: "remove a remote",
      params: {
        remote: "its name",
      },
    },
  },
}

uses

used by