MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / identity

Function identity

e2e/scripts/cli.ts:381–387  ·  view source on GitHub ↗
(targetName: string, flags: ReadonlySet<string>)

Source from the content-addressed store, hash-verified

379};
380
381const identity = async (targetName: string, flags: ReadonlySet<string>) => {
382 const { target } = await loadTarget(targetName);
383 const minted = await runEffect<import("../src/target").Identity>(
384 target.newIdentity(flags.has("--no-org") ? { org: false } : undefined),
385 );
386 console.log(JSON.stringify(minted, null, 2));
387};
388
389const apiCall = async (targetName: string, endpoint: string | undefined, json?: string) => {
390 if (!endpoint?.includes(".")) {

Callers 1

mainFunction · 0.85

Calls 2

loadTargetFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected