4 releases
new 0.1.3 | Feb 17, 2025 |
---|---|
0.1.2 | Feb 17, 2025 |
0.1.1 | Jan 20, 2025 |
0.1.0 | Jan 20, 2025 |
#389 in Command line utilities
180 downloads per month
9KB
159 lines
osc8er
CLI tool to convert file path or URL to terminal hyperlinks on terminal emulators that support OSC 8 hyperlinks.
License
MIT Licence Copyright (c) 2025 Azamshul Azizy
Usage
Via pipes
find . -type f | osc8er
Via arguments
osc8er -a README.md
Full options
Usage: osc8er [OPTIONS] {ARGS...}
Options:
-p, --pipe input from stdin/pipe (default, mutually exclusive
with --args)
-a, --args input from argument (mutually exclusive with --pipe)
-f, --file treat input as file link (default, mutually exclusive
with --url)
-u, --url treat input as URL (mutually exclusive with --file)
-r, --resolve resolve relative file path from current working
directory
-h, --help print this help menu
Dependencies
~1.5MB
~21K SLoC