MCPcopy Create free account
hub / github.com/codeaashu/claude-code / ShowHelp

Function ShowHelp

src/commands/tag/tag.tsx:181–204  ·  view source on GitHub ↗
(t0)

Source from the content-addressed store, hash-verified

179 return null;
180}
181function ShowHelp(t0) {
182 const $ = _c(3);
183 const {
184 onDone
185 } = t0;
186 let t1;
187 let t2;
188 if ($[0] !== onDone) {
189 t1 = () => {
190 onDone("Usage: /tag <tag-name>\n\nToggle a searchable tag on the current session.\nRun the same command again to remove the tag.\nTags are displayed after the branch name in /resume and can be searched with /.\n\nExamples:\n /tag bugfix # Add tag\n /tag bugfix # Remove tag (toggle)\n /tag feature-auth\n /tag wip", {
191 display: "system"
192 });
193 };
194 t2 = [onDone];
195 $[0] = onDone;
196 $[1] = t1;
197 $[2] = t2;
198 } else {
199 t1 = $[1];
200 t2 = $[2];
201 }
202 React.useEffect(t1, t2);
203 return null;
204}
205export async function call(onDone: LocalJSXCommandOnDone, _context: unknown, args?: string): Promise<React.ReactNode> {
206 args = args?.trim() || '';
207 if (COMMON_INFO_ARGS.includes(args) || COMMON_HELP_ARGS.includes(args)) {

Callers

nothing calls this directly

Calls 1

onDoneFunction · 0.50

Tested by

no test coverage detected