#File download helpers
#Usage
usage: fetch [-h] [-v] [--log LOG] [--root ROOT]
[--manifest-filename FILENAME] [--manifest PATH]
{add,download,steal-this-script} ...
One script to fetch them all and in /tmp bind them
positional arguments:
{add,download,steal-this-script}
options:
-h, --help show this help message and exit
-v, --version show program's version number and exit
--log LOG set log level (default: WARN)
--root ROOT act relative the directory ROOT (default: .)
--manifest-filename FILENAME
load manifest from FILENAME (relative to the ROOT)
(default: .fetch.json)
--manifest PATH load manifest from PATH (default: None)
#Add a file
usage: fetch add [-h] [--sha256 SHA256] URL TARGET
positional arguments:
URL
TARGET
options:
-h, --help show this help message and exit
--sha256 SHA256
#Download files
usage: fetch download [-h] [TARGET ...]
positional arguments:
TARGET
options:
-h, --help show this help message and exit