Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support stdin for input #45

Closed
garethr opened this issue Jun 30, 2023 · 1 comment · Fixed by #54
Closed

Support stdin for input #45

garethr opened this issue Jun 30, 2023 · 1 comment · Fixed by #54
Labels
enhancement New feature or request

Comments

@garethr
Copy link

garethr commented Jun 30, 2023

For those of us that love pipes, it would be useful to support stdin for reading the files.

some-command-that-returns-an-sbom | sbom-utility <command>

That way you could dynamically generate reports, or query an sboms content in one command, without writing anything to disk.

This would be explicit, eg. -i - is fairly common as a pay of specifying that it should read from stdin rather than a local file.

There's an interesting ecosystem of tools emerging around SBOMs that really play to this sort of pipelining. Happy to help with the implementation if this is of interest.

@mrutkows
Copy link
Contributor

mrutkows commented Jul 19, 2023

@garethr what an excellent idea! I will look into it as soon as I update the internal structs to support all the new v1.5 features. If you read my "hidden manifesto" in the README, then these kind of tool chains are exactly what I am hoping to accommodate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants