The fetch command
gallery.js fetch
Fetch and merge from remote
Options:
--version Show version number [boolean]
--full-version Show full build version [boolean]
-l, --log-level Console log level
[string] [choices: "trace", "debug", "info", "warn", "error", "silent"]
-J, --log-json-format Log output format in json [boolean]
-L, --log-file Log file
--log-file-level Log file level
[string] [choices: "trace", "debug", "info", "warn", "error"] [default: "debug
"]
-u, --server-url, --url Gallery server url [required]
-k, --insecure Do not verify HTTPS certificates [boolean]
-q, --query Search query [string]
-d, --database Database filename [required]
-e, --events Events filename [required]
-s, --storage Storage directory [required]
-D, --delete Delete local files which are missing remote for all r
emote index [boolean] [default: false]
-w, --watch Watch server for database change and fetch remote on
changes [boolean] [default: false]
--force-download Force to download and overwrite preview files. Use th
is option if the remote preview content changed (e.g.
through a fix) [boolean] [default: false]
--download-all Download preview files from all remote entries. Use t
his option if preview files are missing from remote
[boolean] [default: false]
-c, --config Configuration file
--auto-config Search for configuration on common configuration dire
ctories [boolean] [default: true]
-h, --help Show help [boolean]
--level [default: debug]