Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Simple flag to have machine-readable snip get output. #9

Open
LarsFronius opened this issue Jul 8, 2021 · 0 comments
Open

Simple flag to have machine-readable snip get output. #9

LarsFronius opened this issue Jul 8, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@LarsFronius
Copy link

Use-case being that if I adopt snip as a team with a shared vault, I'd want to call snip from scripts and retrieve a secret in plaintext.

For now the best option I found to get plaintext output of a secret value is:

snip get foo -q -o /dev/stdout

A convention of lots of programs would be to accept - in place of stdout to shorten the command.

A different option could be to implement a flag like snip get foo -r (-r/--raw for raw output mode).

@rogerthebest rogerthebest added this to the v1.0.0 milestone Jul 8, 2021
@rogerthebest rogerthebest added enhancement New feature or request good first issue Good for newcomers labels Jul 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants