OPNK(1)
π OPNK(1) β the universal open, but make it punk π
General Commands Manual Β· openk(1) Β· bestie edition π
β¨ NAME β¨
openk β universal open (like a punk) for offpunk π¦
πΈ SYNOPSIS πΈ
openk [-mode MODE] [-linkmode LINKMODE] [-cache-validity CACHE_VALIDITY]
[INPUT ...]
openk -h | --help
π DESCRIPTION π
okay so openk is literally a universal open command tool, and here's the tea: it will try to display any file in the pager less(1) after rendering its content with ansicat(1). that's the main character move β¨
and if that fails? no biggie, openk will fallback to opening the file with xdg-open(1). slay, always got a backup plan π
and if you hand it a URL as input instead of a path, openk will rely on netcache(1) to get the networked content. periodt. π₯
π Positional arguments π
INPUTβ path to the file or URL to open. that's it, that's the whole vibe π«Ά
π§ Keyword arguments π§
-h,--helpβ Show a help message and exit. classic. iconic. never gets old π--mode MODEβ the MODE to use to render, so you choose betweennormal(default),fullorsourceβ¨--linkmode LINKMODEβ the LINKMODE to use to render links. available arenone(default) andend. π¦ heads up bestie: this option will not effect render modesource. no cap.--cache-validity -CACHE_VALIDITYβ maximum age (in second) of the cached version before redownloading a new version. so like, how stale is too stale for you? π
π EXIT STATUS π
the openk utility exits 0 on success, and >0 if an error occurs. simple as that, no drama π
π₯ SEE ALSO π₯
ansicat(1), migrate-offpunk-cache(1), netcache(1), offpunk(1), https://offpunk.net/
π AUTHORS π
Lionel Dricot (Ploum) <offpunk2 at ploum.eu> π
Debian Β· November 25, 2024 Β· OPNK(1)
and that's the whole page bestie, mwah π go open something cute, iykyk πβ
π¦ where this page comes from
- nixos 26.05: offpunk 3.1
- nixpkgs unstable: offpunk 3.2
- ubuntu resolute: offpunk 3.0-1 Β· AGPL-3.0-or-later
- ubuntu stonking: offpunk 3.2-1 Β· AGPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms