MCPcopy Create free account
hub / github.com/codeaashu/claude-code / aliasesOf

Function aliasesOf

src/utils/powershell/dangerousCmdlets.ts:72–76  ·  view source on GitHub ↗
(targets: ReadonlySet<string>)

Source from the content-addressed store, hash-verified

70] as const
71
72function aliasesOf(targets: ReadonlySet<string>): string[] {
73 return Object.entries(COMMON_ALIASES)
74 .filter(([, target]) => targets.has(target.toLowerCase()))
75 .map(([alias]) => alias)
76}
77
78/**
79 * Network cmdlets — wildcard rules for these enable exfil/download without

Callers 1

Calls 2

entriesMethod · 0.80
hasMethod · 0.45

Tested by

no test coverage detected