viv diagnose
Prints an environment and configuration report to paste into a bug report: cache, auth sources (names only, never credentials), PHP/git/Composer versions, platform packages, and the plugin decision per lock entry.
Usage
Environment and configuration report to paste into a bug report: cache, auth sources (names only), PHP/git/Composer, platform packages and the plugin decision per lock entry
Usage: viv diagnose [OPTIONS]
Options:
-d, --project-dir <PROJECT_DIR> Project directory holding `composer.json`/`composer.lock` [default: .]
-v, --verbose Raise logging to debug
--cache-dir <CACHE_DIR> Store location (default `$XDG_CACHE_HOME/vivace`, or `~/.cache/vivace`)
--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)
-h, --help Print help
Reads and writes
- Reads:
composer.json,composer.lock,auth.json(names of configured hosts only), the store under$XDG_CACHE_HOME/vivace, the systemphpandgitbinaries. - Writes: nothing; prints its report.
Exit codes
0— printed successfully.1— a filesystem error, such as a missing composer.json.