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

Feature Request: Pass arguments to a picker #4

Open
jakehamtexas opened this issue Jul 29, 2022 · 4 comments
Open

Feature Request: Pass arguments to a picker #4

jakehamtexas opened this issue Jul 29, 2022 · 4 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@jakehamtexas
Copy link

From the config example, there's a custom picker named "changed_files" that relies on a local for the base branch. It would be great if, for instance, we could pass a base branch into the picker function when we use :Easypick changed_files develop.

For now, I'll just define a changed_files for each base branch I would compare against in my workflow, but it'd be great to extend other pickers this way, too.

@axkirillov
Copy link
Owner

Hi, I think the way to do this is to allow passing a function as command. I will look into it when I have time.

@axkirillov axkirillov added good first issue Good for newcomers enhancement New feature or request labels Sep 8, 2022
@jcorum11
Copy link

Any progress on this? Any workarounds?

@axkirillov
Copy link
Owner

@jcorum11 I tried hacking it together recently but it required mote restructuring than I expected. It's not hard, but I have very little free time to play around.

@GitMurf
Copy link

GitMurf commented Jan 1, 2024

+1 for this :-) would be a great feature. Thanks for the great plugin!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants