component-detection
component-detection copied to clipboard
Is there a way to have scan manifest printed to stdout ?
This would make https://github.com/microsoft/component-detection/pull/220 far more usable.
Not currently. We print a summary to stdout, but I can see why you'd want just the manifest. It means you don't have to mount a volume to the container.
Yes exactly. This would also make it easy to use the tool in scripts.
For now I'm using this hacky way to acheive this:
docker run -v /app:/scan ms_cd scan --Verbosity=Quiet --SourceDirectory /scan --ManifestFile=/dev/stdout