Documentation
¶
Overview ¶
New-OpInventory scans Go package trees for calls to op.AnnounceReceiver() and op.AnnounceResource(), then generates a blank-import file that ensures all self-registering packages are linked into the binary.
Any Go program that uses pkg/op should run this tool and import the generated inventory file.
Usage:
devlore-inventory <output> <module> <search-root>...
Example:
devlore-inventory pkg/op/inventory/inventory.gen.go github.com/NobleFactor/devlore-cli pkg/op
Click to show internal directories.
Click to hide internal directories.