op_utils

package
v0.97.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckOpBinaryExists

func CheckOpBinaryExists() error

func CheckOpBinaryExistsOrDie

func CheckOpBinaryExistsOrDie()

func Get

func Get(vault, name, field string) (string, error)

func GetFileFrom1Password

func GetFileFrom1Password(vault, name, outputPath string) error

func GetFileFrom1PasswordOrDie

func GetFileFrom1PasswordOrDie(vault, name, outputPath string)

func SaveFileTo1Password

func SaveFileTo1Password(vault, filePath string) error

func SaveFileTo1PasswordOrDie

func SaveFileTo1PasswordOrDie(vault, filePath string)

Types

type OPItem

type OPItem struct {
	ID    string `json:"id"`
	Title string `json:"title"`
	Vault struct {
		ID string `json:"id"`
	} `json:"vault"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL