scut

Crates.ioscut
lib.rsscut
version1.0.0
sourcesrc
created_at2021-05-27 15:02:18.624968
updated_at2021-05-27 15:02:18.624968
descriptionOpen links via short aliases
homepage
repositoryhttps://hg.sr.ht/~whoami/scut
max_upload_size
id402752
size48,811
whoami (whoizit)

documentation

README

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
Commit count: 0

cargo fmt