mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-24 06:33:01 -04:00
4 lines
157 B
TypeScript
4 lines
157 B
TypeScript
export function commandText(command: { name: string; arguments: string }) {
|
|
return `/${command.name}${command.arguments ? ` ${command.arguments}` : ""}`
|
|
}
|