helpSearch
tcmts.cli.commands.helpSearch · #zeeotyzd · term · runs anywhere
import type { Help } from "#codebase/tcmts/cli/commands";
export const helpSearch: Help = {
description:
"find text in the codebase's code and pages, as find in files does (`find` searches names, docs and signatures)",
params: {
text: "what to find: text, as written, or a regular expression written /…/ (flags after it: /a|b/i)",
regex: "the old way: all the text is a regular expression, without slashes (write /…/ instead)",
case: "match case",
word: "whole words only",
under: "only definitions under this namespace, or this definition",
limit: "lines to show at most (default 200)",
},
}
uses
used by