helpImport

tcmts.cli.commands.helpImport · #qt7atdj2 · term · runs anywhere

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

export const helpImport: Help = {
  description: "add an existing project: one namespace per file",
  params: {
    dir: "the project's directory",
    update: "replace definitions that changed since an earlier import",
    exclude: "paths to skip, comma-separated",
    verbose: "report every definition",
    tests:
      "also import test/ and tests/ directories of test definitions (*.test.ts files stay skipped)",
    mirror:
      "keep the directory in step with the codebase: changes made in tcm are written back to its files",
  },
}

uses

used by