opn

Crates.ioopn
lib.rsopn
version0.4.7
sourcesrc
created_at2022-05-19 18:13:18.353841
updated_at2023-01-01 13:31:41.610326
description`opn` command to simulate the MacOS `open` command elsewhere.
homepagehttps://github.com/martinlindhe/opn
repository
max_upload_size
id589834
size4,777
Martin Lindhe (martinlindhe)

documentation

README

About

opn takes an argument of a file, path or a URL, and opens the registered filetype handler, file explorer or web browser accordingly.

The opn command simulates the MacOS open command, targeting Linux and Windows.

Installation

cargo install opn

Usage

Open folder in the file explorer:

opn .

Open url in default browser:

opn https://google.com

Open file in default app:

opn main.rs

License

Under MIT

Commit count: 0

cargo fmt