#explorer #open #browser #file-path #command #platform #prescribed

app kawana77b-op

Open the file path or web address in the prescribed file explorer or browser

1 stable release

1.1.0 Feb 3, 2025

#2316 in Command line utilities

Download history 104/week @ 2025-02-01 11/week @ 2025-02-08

115 downloads per month

MIT license

19KB
501 lines

op

description

op is a CLI tool that opens the path given as an argument in a specified filer or browser.

I created it because I wanted to use a common command on multiple platforms when using the desktop filer.

what is this?

This is a very personal tool that I created because I wanted to use the default filer with common cross-platform commands.

I use it often because it is easy. I am satisfied.
This is a very personal tool and I do not intend to actively maintain it as FOSS. I will accept some feedback, but may not actively reply. However, you will see it. Any feedback would be greatly appreciated. Folks are free in exchange for not holding me accountable. Please respect the license of the dependency.

env

Windows, Mac, Linux

Must be in a desktop environment.

usage

Open the current directory with the OS prescribed filer:

op

Open the specified directory:

op ./foo/bar

Open the remote repository in the git project in the prescribed browser:

op git

Dependencies

~4–5.5MB
~99K SLoC