print-best-version
Name
cave-print-best-version — Prints the best installed version matching a particular spec.
Synopsis
cave print-best-version spec
DESCRIPTION
Prints the best installed version matching a particular spec. No formatting is used, making the output suitable for parsing by scripts.
OPTIONS
Global Options
Global options, used by every subcommand.
- -h , --help
- display help message
Display Options
Controls the output format.
- -f , --format
Select the output format.
- full (f)
- Display the full canonical representation (default)
- spec (s)
- Display the ID as a uniquely identifying spec
- name (n)
- Display only the name
- version (v)
- Display only the version
- name-version (V)
- Display the name and the version