Skip to content

CLI Reference

latz

"latz" is a command line tool for searching images via various image API backends. It is largely meant for educational purposes to show how to develop plugin friendly Python applications.

The included commands are "search" for performing actual image searches and "config" for setting and displaying configuration variables.

Usage:

latz [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

config

Various commands for showing and setting configuration values

Usage:

latz config [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

set

Set configuration values.

Usage:

latz config set [OPTIONS] [CONFIG_VALUES]...

Options:

  -c, --config PATH  Path of config file to write to. Defaults to ~/.latz.json
  --help             Show this message and exit.

show

Prints the current config

Usage:

latz config show [OPTIONS]

Options:

  --help  Show this message and exit.

Command that retrieves an image based on a search term

Usage:

latz search [OPTIONS] QUERY

Options:

  -l, --limit INTEGER
  --help               Show this message and exit.