<html><head></head><body>I second that idea. Would you mind creating a new thread for it?<br><br><div class="gmail_quote">On February 5, 2017 11:17:32 AM GMT-03:00, Alexandre Pujol <alexandre@pujol.io> wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">+1<br /><br />My email explaining how to create an extension can be found here:<br /><a href="https://lists.zx2c4.com/pipermail/password-store/2017-January/002685.html">https://lists.zx2c4.com/pipermail/password-store/2017-January/002685.html</a><br /><br />I think a page on <a href="http://password-store.org">password-store.org</a> documenting extension creation<br />could be useful.<br /><br /><br />On 05/02/17 14:04, HacKan Iván wrote:<br /><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Funny thing is, I said the same the first time someone answered me that<br /> (a week ago) :D<br /> <br /> I can't find that email, but I wrote one:<br /> <a href="https://github.com/HacKanCuBa/pass-extension-insertfile">https://github.com/HacKanCuBa/pass-extension-insertfile</a><br /> <br /> Basically, an extension is a file named command.bash in .extensions<br /> directory in the store (~/.password-store) that is sourced by the main<br /> script.<br /> <br /> Try the following: create example.bash in that dir, set the executable<br /> bit (chmod +x ~/.password-store/.extensions/example.bash) and put the<br /> following content:<br /> <br /> #!/usr/bin/env bash<br /> echo This is an example pass extension.<br /> <br /> Then run `pass example` and voilà ;)<br /> <br /> Btw, to enable extensions you must:<br /> <br /> export PASSWORD_STORE_ENABLE_EXTENSIONS=true<br /> <br /> Or else:<br /> <br /> PASSWORD_STORE_ENABLE_EXTENSIONS=true pass example<br /> <br /> More info in the man page: man pass.<br /> <br /> Hope it helped. Cheers!<br /> <br /> On February 5, 2017 10:52:06 AM GMT-03:00, Dusty Mabe<br /> <dusty@dustymabe.com> wrote:<br /> <br /> <br /> <br /> On 02/04/2017 10:52 PM, HacKan Iván wrote:<br /> <br /> Yo should better implement this as an extension: pass dump.<br /> <br /> <br /> I'm not really sure what you mean by "as an extension". Are there<br /> any docs on creating extensions for "pass"? What other extensions<br /> already exist?<br /> <br /> Dusty<br /><hr /><br /> <br /> Password-Store mailing list<br /> Password-Store@lists.zx2c4.com<br /> <a href="https://lists.zx2c4.com/mailman/listinfo/password-store">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br /> <br /> <br /> -- <br /> HacKan || Iván<br /> GPG: 0x35710D312FDE468B<br /> <br /> <br /><hr /><br /> Password-Store mailing list<br /> Password-Store@lists.zx2c4.com<br /> <a href="https://lists.zx2c4.com/mailman/listinfo/password-store">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br /> <br /></blockquote><hr /><br />Password-Store mailing list<br />Password-Store@lists.zx2c4.com<br /><a href="https://lists.zx2c4.com/mailman/listinfo/password-store">https://lists.zx2c4.com/mailman/listinfo/password-store</a><br /></pre></blockquote></div><br>
-- <br>
HacKan || Iván<br>
GPG: 0x35710D312FDE468B</body></html>