gooze list

Shows what Gooze would mutate, without running tests. This is a safe first command.

When to use it

  • Sanity check that Gooze sees your code
  • Quick estimate before gooze run
  • Confirm your exclude rules are working

Usage

gooze list [global flags] [paths...]

Examples (and what they do)

Scan everything in the current module:

gooze list ./...

Exclude vendor and examples folders:

gooze list -x '^vendor/' -x '^examples/' ./...

Scan only one sub-tree:

gooze list ./internal/domain/...

Output

  • TTY: interactive list with filter
  • Non-TTY: a table with per-file mutation counts