AIBoMGen CLI version
v0.2.1
Go version (if built from source)
go1.25.x
Operating system
Any
Command used
# Run from a freshly cloned repository without --config
aibomgen-cli enrich
Expected behavior
The command returns a clear usage error asking the user to provide --input, since no input file was specified.
Actual behavior
The command fails with an error about a missing file path that only exists in the original developer's environment: ./dist/WiebeVandendriessche_model-card-example_aibom.json. config/defaults.yaml is automatically loaded by default for any user who runs the CLI from a cloned repo without --config. It hardcodes developer-specific defaults: scan.input: "./targets/target-3", and enrich.input/validate.input pointing to a personal file path.
Additional context
Fix: replace all hardcoded path defaults in config/defaults.yaml with empty strings (input: ""). The commands already validate that --input is provided and return a clear UserError when absent. Update the config file header to clarify it is an example to be copied and customised locally, not a ready-to-use default.
AIBoMGen CLI version
v0.2.1
Go version (if built from source)
go1.25.x
Operating system
Any
Command used
Expected behavior
The command returns a clear usage error asking the user to provide
--input, since no input file was specified.Actual behavior
The command fails with an error about a missing file path that only exists in the original developer's environment:
./dist/WiebeVandendriessche_model-card-example_aibom.json.config/defaults.yamlis automatically loaded by default for any user who runs the CLI from a cloned repo without--config. It hardcodes developer-specific defaults:scan.input: "./targets/target-3", andenrich.input/validate.inputpointing to a personal file path.Additional context
Fix: replace all hardcoded path defaults in
config/defaults.yamlwith empty strings (input: ""). The commands already validate that--inputis provided and return a clearUserErrorwhen absent. Update the config file header to clarify it is an example to be copied and customised locally, not a ready-to-use default.