Byron / open-rs

Open a path or URL with the system-defined program
http://byron.github.io/open-rs
MIT License
319 stars 49 forks source link

Allow several paths #70

Open neongreen opened 1 year ago

neongreen commented 1 year ago

At least on macOS, the open command works fine with several paths and often does something useful. E.g. if you have VLC and you open several files at once, VLC will create a playlist.

Byron commented 1 year ago

I think that's a great idea! I propose implementing this with these(paths: impl IntoIterator…) to allow open::these(…) as sibling to open::that(…).