Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
147
export
function
isDemoMode(): boolean {
148
const
args = parseCommandLineArgs();
149
return
args.demo ===
"true"
;
150
}
151
152
153
/**
Callers
3
main
Function · 0.85
resolveDSN
Function · 0.85
resolveSourceConfigs
Function · 0.85
Calls
1
parseCommandLineArgs
Function · 0.85
Tested by
no test coverage detected