logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

opnk — universal open (like a punk) for offpunk

Authors

       Lionel Dricot (Ploum) <offpunk2atploum.eu>

Debian                                          November 25, 2024                                        OPNK(1)

Description

       opnk  is  an  universal  open  command  tool that will try to display any file in the pager less(1) after
       rendering its content with ansicat(1).  If that fails, opnk  will  fallback  to  opening  the  file  with
       xdg-open(1).   If  given  an  URL  as  input  instead of a path, opnk will rely on netcache(1) to get the
       networked content.

   PositionalargumentsINPUT   path to the file or URL to open.

   Keywordarguments-h, --help
                     Show a help message and exit

             --modeMODE
                     MODE to use to render to choose between normal (default), full or source

             --cache-validity-CACHE_VALIDITY
                     Maximum age (in second) of the cached version before redownloading a new version.

Exit Status

       The opnk utility exits 0 on success, and >0 if an error occurs.

Name

       opnk — universal open (like a punk) for offpunk

See Also

ansicat(1), migrate-offpunk-cache(1), netcache(1), offpunk(1), https://offpunk.net/

Synopsis

opnk [-mode MODE] [-cache-validity CACHE_VALIDITY] [INPUT...]
       opnk-h | --help

See Also