Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/pass_cli_wrapper/mod.ts

A very crappy tiny Deno script for accessing secrets in a password-store via the pass CLI.
Go to Latest
import * as passCliWrapper from "https://deno.land/x/pass_cli_wrapper@0.1.0/mod.ts";

Functions

Gets entire (trimmed) contents from the specified entry in the password store.

Equivalent to retrieving the contents and looking for a line that starts with ${fieldName}: (the fieldName argument followed by a colon). The remainder of the line (everything after the first colon) will be trimmed and returned.

Gets the first non-empty line from the specified entry in the password store.