CLI Tool Overview

The whatsdiff CLI provides several commands to analyze and inspect dependency changes in your PHP and JavaScript projects.

Available Commands

analyse

See what's changed in your project's dependencies by analyzing composer.lock and package-lock.json files.

between

Compare dependency changes between two commits, branches, or tags.

check

Check if a specific package has changed in your dependencies.

changelog

View release notes and changelogs for specific packages directly in your terminal.

tui

Launch the Terminal User Interface to interactively browse dependency changes and read the changelogs.

config

Get or set configuration values for whatsdiff.

Common Options

All commands support these standard options:

  • -h, --help - Display help for the command
  • --silent - Do not output any message
  • -q, --quiet - Only display errors, suppress all other output
  • -V, --version - Display the application version
  • --ansi|--no-ansi - Force (or disable) ANSI output
  • -n, --no-interaction - Do not ask any interactive questions
  • -v|vv|vvv, --verbose - Increase verbosity (1=normal, 2=verbose, 3=debug)

Quick Start

The most common usage is to run analyse in your project directory after updating dependencies:

whatsdiff analyse

This will show you a summary of all dependency changes.

Next Steps

Learn more about specific commands: