MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / dump

Method dump

packages/cli/src/CLIHelper.ts:131–138  ·  view source on GitHub ↗
(text: string, config?: Configuration)

Source from the content-addressed store, hash-verified

129 }
130
131 static dump(text: string, config?: Configuration): void {
132 if (config?.get('highlighter')) {
133 text = config.get('highlighter').highlight(text);
134 }
135
136 // eslint-disable-next-line no-console
137 console.log(text);
138 }
139
140 static getSettings(): Settings {
141 const config = fs.getPackageConfig();

Callers 15

dumpDependenciesMethod · 0.80
dumpTableMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
handlerMethod · 0.80
checkPathsMethod · 0.80
handlerMethod · 0.80
handleUpDownCommandMethod · 0.80
handleCreateCommandMethod · 0.80
handleCheckCommandMethod · 0.80

Calls 3

getMethod · 0.65
highlightMethod · 0.65
logMethod · 0.65

Tested by

no test coverage detected