cristiand391 / sf-plugin-fzf-cmp

Fuzzy completion for the Salesforce CLI
3 stars 0 forks source link

feat(cmd): automatically select the only match #4

Closed cristiand391 closed 6 months ago

cristiand391 commented 6 months ago

What does this PR do?

Adds --select-1 flag to command completion to make fzf automatically select the only match.

This is useful if you know a command part only matches that command, example:

sf web<TRIGGER> -> sf org login web

What issues does this PR fix or reference?