Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 653 Bytes

readme.md

File metadata and controls

36 lines (24 loc) · 653 Bytes

opn-cli

Opens stuff like websites, files, directories, executables. Cross-platform

opn-cli forked to fit to my taste

Install

npm i -g jeromedecoster/opn-cli

Usage

opn <file|directory|url> [--wait] [-- <app> [args]]

Examples

opn example.org
opn http://example.org -- firefox
opn http://example.org -- 'google chrome' --incognito
opn unicorn.png
opn ../..
opn

Thanks

Mainly forked on opn-cli

License

MIT © Sindre Sorhus