helpContribution

tcmts.cli.commands.helpContribution · #ijgqukdh · term · runs anywhere

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

export const helpContribution: Help = {
  description: "contributions on a remote: list them (view, comment, merge or close one)",
  params: {
    all: "merged and closed ones too",
  },
  routes: {
    view: {
      description: "a contribution's changes (as definitions), whether it merges, and its comments",
    },
    comment: {
      description: "comment on a contribution",
      params: {
        text: "the comment",
        about: "the definition it's about",
      },
    },
    merge: {
      description:
        "merge it into its target, on the remote: a fast-forward or a clean merge (refused on conflicts)",
    },
    close: {
      description: "close it without merging",
    },
    reopen: {
      description: "reopen a closed one",
    },
  },
}

uses

used by