Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rbw: pass additional arguments #3426

Closed
shumvgolove opened this issue Dec 21, 2023 · 2 comments · Fixed by #3427
Closed

rbw: pass additional arguments #3426

shumvgolove opened this issue Dec 21, 2023 · 2 comments · Fixed by #3427
Labels
enhancement New feature or request

Comments

@shumvgolove
Copy link

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:

  • Pass additional arguments to rbw function
  • Allow specifying optional folder argument like: {{ (rbw "my-entry" "my-folder") }} / {{ (rbwFields "my-entry" "my-folder") }}

Describe alternatives you've considered

Alternatively, we can add a new template function like in #416.

Additional context

Thanks for your work on this awesome project!

@twpayne
Copy link
Owner

twpayne commented Dec 21, 2023

Makes sense. Implemented in #3427.

@shumvgolove
Copy link
Author

Thank you!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants