cli/docs/cmd/go/mod/verify/index.md
Snider 9add6cf2ee refactor(cli): restructure cmd packages into subdirectories
- Move CLI commands into subdirectories matching command hierarchy:
  dev/, go/, php/, build/, ci/, sdk/, pkg/, vm/, docs/, setup/, doctor/, test/, ai/
- Create shared/ package for common styles and utilities
- Add new `core ai` root command with claude subcommand
- Update package declarations and imports across all files
- Create commands.go entry points for each package
- Remove GUI-related files (moved to core-gui repo)

This makes the filesystem structure match the CLI command structure,
improving context capture and code organization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 18:02:43 +00:00

645 B

core go mod verify

Verify dependencies have not been modified.

Wrapper around go mod verify. Checks that dependencies in the module cache match their checksums in go.sum.

Usage

core go mod verify

What It Does

  • Verifies each module in the cache
  • Compares against go.sum checksums
  • Reports any tampering or corruption

Examples

# Verify all dependencies
core go mod verify

Output

all modules verified

Or if verification fails:

github.com/example/pkg v1.2.3: dir has been modified

See Also