1 个稳定版本
1.0.0 | 2021年5月27日 |
---|
#63 in #links
17KB
93 行
示例用法
$ cargo install scut
$ hg clone https://hg.sr.ht/~whoami/scut-aliases ~/.config/scut
$ scut test search
# will run xdg-open https://startpage.com/do/search?query=test%20search
$ scut tw
# will run xdg-open https://www.twitch.tv
$ scut tw angrytestie
# will run xdg-open https://www.twitch.tv/search?term=angrytestie
$ scut tw -r angrytestie
# will run xdg-open https://www.twitch.tv/angrytestie
$ scut tmdb the code
# will run xdg-open https://www.themoviedb.org/search?query=the%20code
默认使用打开
(支持:https://crates.io/crates/open)
- linux: xdg-open | gio open | gnome-open | kde-open | wslview
- osx: open
- windows: start
依赖
~1.6–2.9MB
~78K SLoC