Skip to content

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.

TypeScript
334 B
Raw Blame
import Modes from '../modes'
import type { TelemetryProp } from './types'

/**
 * The mode as a row carries it: the value with the four it is chosen from.
 *
 * @param mode the configured mode
 * @returns the `mode` property
 */
export const modeChoiceOf = (mode: Modes.Mode): TelemetryProp => ({
  value: mode,
  of: Modes.MODES,
})