-
Notifications
You must be signed in to change notification settings - Fork 374
feat(filter): allow to pre-select items with --selected #777
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
Conversation
Hey just tried this with the following options on
My guess is it's not working when there is a |
the # Select js
platforms=$(echo "js|android|ios" | gum filter --input-delimiter="|" --no-limit --output-delimiter="," --selected="js")
# Select all
platforms=$(echo "js|android|ios" | gum filter --input-delimiter="|" --no-limit --output-delimiter="," --selected="*")
# This one worked
echo "Applications\nLibrary\nDownloads" | gum filter --selected="Downloads" |
LOL @caarlos0 thank you for catching that! 🙏 |
ouch, true, also just noticed that tab on the last item is broken |
refs #777 (comment) Signed-off-by: Carlos Alexandro Becker <[email protected]>
fixed on main |
closes #593