MCPcopy Create free account
hub / github.com/TestSprite/testsprite-cli / readProfile

Function readProfile

src/lib/credentials.ts:98–104  ·  view source on GitHub ↗
(
  profile: string,
  options: CredentialsOptions = {},
)

Source from the content-addressed store, hash-verified

96}
97
98export function readProfile(
99 profile: string,
100 options: CredentialsOptions = {},
101): ProfileEntry | undefined {
102 const file = readCredentialsFile(options);
103 return file[profile];
104}
105
106export function writeProfile(
107 profile: string,

Callers 5

resolveReportedEndpointFunction · 0.85
runConfigureFunction · 0.85
auth.test.tsFile · 0.85
loadConfigFunction · 0.85

Calls 1

readCredentialsFileFunction · 0.85

Tested by

no test coverage detected