MCPcopy
hub / github.com/npmx-dev/npmx.dev / teamListTeams

Function teamListTeams

cli/src/npm-client.ts:536–539  ·  view source on GitHub ↗
(org: string)

Source from the content-addressed store, hash-verified

534}
535
536export async function teamListTeams(org: string): Promise<NpmExecResult> {
537 validateOrgName(org)
538 return execNpm(['team', 'ls', org, '--json'], { silent: true })
539}
540
541export async function teamListUsers(scopeTeam: string): Promise<NpmExecResult> {
542 validateScopeTeam(scopeTeam)

Callers 1

createConnectorAppFunction · 0.90

Calls 2

execNpmFunction · 0.85
validateOrgNameFunction · 0.70

Tested by

no test coverage detected