Command Line Tools
wheels packages remove
Removes an installed package by deleting vendor/<name>/. Removal is explicit: without --yes the command changes nothing, prints Re-run with --yes to confirm removing '<name>', and exits non-zero. As a safety check, the command refuses if the directory has no package.json — that shape suggests the dir isn’t a Wheels package and we shouldn’t touch it.
Synopsis
Section titled “Synopsis”wheels packages remove <name> --yes| Flag | Description |
|---|---|
--yes | Required. Confirms the removal. Missing --yes throws Wheels.Packages.ConfirmationRequired. |
Failure modes
Section titled “Failure modes”| Error | Cause |
|---|---|
Wheels.Packages.ConfirmationRequired | --yes was not passed. Nothing was deleted. |
Wheels.Packages.NotInstalled | vendor/<name>/ does not exist. |
Wheels.Packages.NotAPackage | vendor/<name>/ has no package.json. Remove it manually if you’re sure. |
Example
Section titled “Example”$ wheels packages remove wheels-sentry --yesRemoved vendor/wheels-sentry.