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

Function cliArgs

packages/plugins/onepassword/src/sdk/service.ts:199–200  ·  view source on GitHub ↗
(auth: ResolvedAuth, base: readonly string[])

Source from the content-addressed store, hash-verified

197};
198
199const cliArgs = (auth: ResolvedAuth, base: readonly string[]): readonly string[] =>
200 auth.kind === "desktop-app" ? [...base, `--account=${auth.accountName}`] : base;
201
202const decodeCliVaultRows = Schema.decodeUnknownEffect(
203 Schema.fromJsonString(Schema.Array(Schema.Struct({ id: Schema.String, name: Schema.String }))),

Callers 1

runFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected