Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResolveItems ¶
ResolveItems calls `op item get` for each item name and returns a merged map of label→value for all fields that have both a label and a value. Items later in the slice win on key conflict.
Resolution is optimistic: a failure on one item is recorded in the returned []error slice and the loop continues with the next item. The caller is expected to surface the per-item errors and apply whatever did resolve.
func ShouldResolve ¶ added in v0.8.0
ShouldResolve reports whether the caller should invoke `op item get` for the configured 1Password documents. Pure for testability — the caller threads in the boolean flag (`--no-1password`), the env var value (`DEVCELL_NO_1PASSWORD`), and the resolved document list. Skip when there are no documents, when the user explicitly opted out via flag, or via a truthy env value (CELL-42).
Types ¶
This section is empty.