sweep-rs
sweep-rs copied to clipboard
[request] more examples in the README
I've come across this project by pure chance, after looking into the pywayland project,
I was looking for a rusty fzf to replace the now dormant skim, it was happy surprise for me.
I can see that sweep offers good functionalities the like of which fzf has, but I couldn't get some to work for me,
like the --preview option, I couldn't find the proper way for it to work. Is it like fzf: --preview 'bat {}' or is there any other way.
I tried to run the demo python -msweep demo, it didn't work
Traceback (most recent call last):
File "<frozen runpy>", line 189, in _run_module_as_main
File "<frozen runpy>", line 159, in _get_module_details
File "<frozen importlib._bootstrap_external>", line 1074, in get_code
File "<frozen importlib._bootstrap_external>", line 1004, in source_to_code
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/home/salo/Documents/sweep-rs/sweep/sweep/sweep.py", line 126
class SweepSelect[I]:
^
SyntaxError: invalid syntax
From this output I couldn't figure out the problem, is it some dependency missing?
I use opensuse Tumblweed and python-3.11
Thank for all your hard work, you've put into this utility