spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / tests / fixtures / mark.ts
17 lines · 478 BRaw
1import type { CommandRunInput } from 'claude-code'
2
3import { FULLSCREEN } from './fullscreen.js'
4
5/**
6 * The command that has the marking plugin mark an entry, typed as the
7 * person would type it; an entry that is no object rides as it is.
8 *
9 * @param entry what to mark
10 * @returns `/mark <entry>`
11 */
12export const mark = (entry: unknown): CommandRunInput => ({
13 command: 'mark',
14 args: JSON.stringify(entry),
15 origin: { kind: 'composer' },
16 presentation: FULLSCREEN,
17})