diff options
author | louie <lshprung@yahoo.com> | 2021-02-21 19:49:40 -0800 |
---|---|---|
committer | louie <lshprung@yahoo.com> | 2021-02-21 19:49:40 -0800 |
commit | 4a51ba24c1ef4bd2612a44b095a27b12b862abb2 (patch) | |
tree | aaca1aa703d4b52b0e4555e7fdeb238a40233b60 /README.md | |
parent | 9ef95a3a35e7fd7092e218ce31b09371180d5a21 (diff) |
Added download to /tmp/
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,10 +4,14 @@ pkg-screenshot is a shell script that can display preview screenshots of package ## Prerequisites -pkg-screenshot requires **jq** to parse the json provided at `https://screenshots.debian.net/json/package/PACKAGENAME` and **xdg-open** to open the image URL +pkg-screenshot requires **wget** to download screenshots, **jq** to parse the json provided at `https://screenshots.debian.net/json/package/PACKAGENAME` and **xdg-open** to open the image file (saved to the /tmp/ directory) ## Usage ``` -pkg-screenshot.sh package +pkg-screenshot.sh [options] package ``` + +### Options + +**--no-download** - Open the image URL instead of saving an image file in /tmp/ |