MCPcopy Create free account
hub / github.com/callstack/agent-device / defineCommandMetadata

Function defineCommandMetadata

src/commands/command-contract.ts:40–44  ·  view source on GitHub ↗
(
  definition: CommandMetadata<Name, Input>,
)

Source from the content-addressed store, hash-verified

38};
39
40export function defineCommandMetadata<Name extends string, Input>(
41 definition: CommandMetadata<Name, Input>,
42): CommandMetadata<Name, Input> {
43 return definition;
44}
45
46export function defineExecutableCommand<Name extends string, Input, Result>(
47 metadata: CommandMetadata<Name, Input>,

Callers 3

metadata.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…