MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getRandomGoodbyeMessage

Function getRandomGoodbyeMessage

src/commands/exit/exit.tsx:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9import { getCurrentWorktreeSession } from '../../utils/worktree.js';
10const GOODBYE_MESSAGES = ['Goodbye!', 'See ya!', 'Bye!', 'Catch you later!'];
11function getRandomGoodbyeMessage(): string {
12 return sample(GOODBYE_MESSAGES) ?? 'Goodbye!';
13}
14export async function call(onDone: LocalJSXCommandOnDone): Promise<React.ReactNode> {
15 // Inside a `claude --bg` tmux session: detach instead of kill. The REPL
16 // keeps running; `claude attach` can reconnect. Covers /exit, /quit,

Callers 1

callFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected