1 stable release

1.0.0 May 27, 2021

#68 in #links

GPL-3.0-or-later

17KB
93 lines

Example usage

$ 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

open-with by default:

(supported by: https://crates.io/crates/open)

  • linux: xdg-open | gio open | gnome-open | kde-open | wslview
  • osx: open
  • windows: start

Dependencies

~1.6–2.8MB
~77K SLoC