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

Function identity

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

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.85

Calls 2

loadTargetFunction · 0.85
logMethod · 0.80

Tested by

no test coverage detected