viv show
Lists what's installed, or inspects a single package's detail. Pass
--tree/-t for the require graph instead of a flat list.
Usage
List installed packages, or inspect one (`--tree`/`-t` for the require tree)
Usage: viv show [OPTIONS] [PACKAGE]
Arguments:
[PACKAGE] Package to inspect (an exact name, no wildcard support)
Options:
-t, --tree Render the require tree instead of the package list (`viv tree` sets this unconditionally, ignoring the flag itself)
-v, --verbose Raise logging to debug
--cache-dir <CACHE_DIR> Store location (default `$XDG_CACHE_HOME/vivace`, or `~/.cache/vivace`)
--name-only Print names only, one per line
-D, --direct Only packages required directly by the root package
--offline Fail fast on any request instead of connecting: install errors, naming every package not already in the store; update solves from cached repository metadata only, erroring on an uncached package. Also set by `COMPOSER_DISABLE_NETWORK` (any value but unset, empty or `0`; Composer's own git-priming `prime` value is not special-cased here, since neither `install` nor `update` touch a git source)
--no-dev Skip `require-dev` packages
--locked Read `composer.lock` instead of `vendor/composer/installed.json`
--invert With `--tree`/`viv tree`, list which packages require `package` instead of rendering its own require tree (`composer why`/`depends`, #86; `viv why` sets this unconditionally)
--format <FORMAT> Output format for the list view [default: text] [possible values: text, json]
-d, --project-dir <PROJECT_DIR> Project directory holding `composer.json` [default: .]
-h, --help Print help
Reads and writes
- Reads:
vendor/composer/installed.json,composer.json. - Writes: nothing; prints its report.
Exit codes
0— printed successfully.1— a filesystem error (novendor/), an unknown package name, or a bad flag.