Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ hasFlag
Function
hasFlag
scripts/loops.js:24–26 ·
view source on GitHub ↗
(name)
Source
from the content-addressed store, hash-verified
22
}
23
24
function
hasFlag(name) {
25
return
process.argv.includes(name);
26
}
27
28
function
projectRoot() {
29
return
path.resolve(arg(
'--project-root'
, process.cwd()));
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected