Description Problem or motivation
validate only accepts a single file via --input
Cannot validate directories containing multiple AIBOMs
Typical aibomgen output produces multiple BOM files
Users must manually loop or script around the CLI
Current flow:
bom , err := bomio .ReadBOM (inputPath , format )
assumes a single file and tightly couples parsing to execution
No file discovery or filtering:
no support for .json / .xml scanning
no recursive traversal
Poor CI/CD usability:
cannot validate full artifact directories
no aggregated success or failure reporting
stops on first error instead of processing all files
Proposed solution
Alternatives considered
Keep single-file input and rely on shell scripting
rejected due to poor UX and portability
Add separate batch command (e.g. validate-dir)
rejected as unnecessary duplication
Require explicit file lists as input
less ergonomic than directory support
Additional context
Aligns with expected CLI behavior for tools operating on artifacts
Similar batch patterns exist in linters and scanners
Enables easier integration in CI pipelines
Reactions are currently unavailable
You can’t perform that action at this time.
Problem or motivation
validateonly accepts a single file via--inputCannot validate directories containing multiple AIBOMs
Typical
aibomgenoutput produces multiple BOM filesUsers must manually loop or script around the CLI
Current flow:
assumes a single file and tightly couples parsing to execution
No file discovery or filtering:
.json/.xmlscanningPoor CI/CD usability:
Proposed solution
Extend
--inputto accept:Add directory handling:
.jsonand.xml--recursivesupportProcess all BOMs:
Improve output:
Error handling:
Refactor:
Alternatives considered
Keep single-file input and rely on shell scripting
Add separate batch command (e.g.
validate-dir)Require explicit file lists as input
Additional context