twpayne / chezmoi

Manage your dotfiles across multiple diverse machines, securely.
https://www.chezmoi.io/
MIT License
12.9k stars 478 forks source link

rbw: pass additional arguments #3426

Closed shumvgolove closed 9 months ago

shumvgolove commented 9 months ago

Is your feature request related to a problem? Please describe.

Currently, rbw template function can not be extended with additional arguments. In my case, the critical piece is --folder arg: my password entries use folder structure and sometimes contain the same name (foo in bar folder and foo in baz folder), so I can't distinguish them without using an additional argument, making rbw template function useless :^(

Describe the solution you'd like

Either:

Describe alternatives you've considered

Alternatively, we can add a new template function like in https://github.com/twpayne/chezmoi/issues/416.

Additional context

Thanks for your work on this awesome project!

twpayne commented 9 months ago

Makes sense. Implemented in #3427.

shumvgolove commented 9 months ago

Thank you!