MCPcopy Create free account
hub / github.com/bytebase/dbhub / isDemoMode

Function isDemoMode

src/config/env.ts:147–150  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 * Returns true if --demo flag is provided
146 */
147export function isDemoMode(): boolean {
148 const args = parseCommandLineArgs();
149 return args.demo === "true";
150}
151
152
153/**

Callers 3

mainFunction · 0.85
resolveDSNFunction · 0.85
resolveSourceConfigsFunction · 0.85

Calls 1

parseCommandLineArgsFunction · 0.85

Tested by

no test coverage detected