MCPcopy Create free account
hub / github.com/Urigo/graphql-cli / defineCommand

Function defineCommand

packages/common/src/command.ts:12–14  ·  view source on GitHub ↗
(factory: CommandFactory<T, U>)

Source from the content-addressed store, hash-verified

10}) => CommandModule<T, U>;
11
12export function defineCommand<T = {}, U = {}>(factory: CommandFactory<T, U>) {
13 return factory;
14}
15
16export function useConfig(options: LoadConfigOptions = {}) {
17 return loadConfig({

Callers 4

index.tsFile · 0.90
index.tsFile · 0.90
index.tsFile · 0.90
discover.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…