ocrd.cli.resmgr module¶
OCR-D CLI: management of processor resources
ocrd resmgr¶
Managing processor resources
ocrd resmgr [OPTIONS] COMMAND [ARGS]...
download¶
Download resource URL_OR_NAME for processor EXECUTABLE.
URL_OR_NAME can either be the name
or url
of a registered resource.
If URL_OR_NAME is ‘*’ (asterisk), download all known resources for this processor
If --any-url
is given, also accepts URL or filenames of non-registered resources for URL_OR_NAME
.
ocrd resmgr download [OPTIONS] EXECUTABLE [URL_OR_NAME]
Options
-
-n
,
--any-url
¶
Allow downloading/copying unregistered resources
-
-a
,
--allow-uninstalled
¶
Allow installing resources for uninstalled processors
-
-o
,
--overwrite
¶
Overwrite existing resources
-
-l
,
--location
<location>
¶ Where to store resources
- Default
data
- Options
data | cwd | system
Arguments
-
EXECUTABLE
¶
Required argument
-
URL_OR_NAME
¶
Optional argument