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

lsfd: allow filter (--filter/-Q) as extra arguments on command line #2568

Open
mjt0k opened this issue Nov 2, 2023 · 0 comments
Open

lsfd: allow filter (--filter/-Q) as extra arguments on command line #2568

mjt0k opened this issue Nov 2, 2023 · 0 comments

Comments

@mjt0k
Copy link

mjt0k commented Nov 2, 2023

Currently, any extra arguments on command line gets rejected (lsfd will exit with error). It'd be very useful if lsfd accepted the rest of command line as filter. With this in mind, it would be possible to use, say, tab completion for file names, - since right now it is not possible within the expression to -Q option. Consider:

lsfd -Q 'NAME == "/file/name"'

vs

lsfd NAME == /file/name

The latter seems to be much more user-friendly to me. It is also easier to parse internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant