QuickLook server tool. More information: https://keith.github.io/xcode-man-pages/qlmanage.1.html.
qlmanage -p {{path/to/file1 path/to/file2 ...}}
qlmanage {{*.jpg}} -t -s {{300}} {{path/to/directory}}
qlmanage -r