Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/secret-1password / OpCli
Interface: OpCli
Defined in: packages/secret-1password/src/op-cli.ts:23
Stable
Methods
read()
ts
read(uri, options?): Promise<OpCliReadResult>;Defined in: packages/secret-1password/src/op-cli.ts:30
Resolve a single op://... reference. Returns the trimmed stdout. Throws OpCliError when the binary is missing, the user is signed out, the reference does not resolve, or the call exceeds the timeout.
Parameters
| Parameter | Type |
|---|---|
uri | string |
options? | OpCliReadOptions |
Returns
Promise<OpCliReadResult>