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

Add --input argument #563

Merged
merged 11 commits into from
Mar 15, 2023
Merged

Add --input argument #563

merged 11 commits into from
Mar 15, 2023

Conversation

snease
Copy link
Contributor

@snease snease commented Sep 11, 2022

This argument accepts a path to a file. The data contained in the file will be passed to the command via stdin.

Closes #541

This argument accepts a path to a file. The data contained in the file will be passed to the command via stdin.

Closes #541
src/options.rs Outdated Show resolved Hide resolved
src/benchmark/executor.rs Outdated Show resolved Hide resolved
src/cli.rs Outdated Show resolved Hide resolved
src/options.rs Outdated Show resolved Hide resolved
src/options.rs Outdated Show resolved Hide resolved
Copy link
Owner

@sharkdp sharkdp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you very much for your contribution!

@snease
Copy link
Contributor Author

snease commented Oct 15, 2022

Happy to help! Thanks for creating a great project.

@snease snease requested a review from sharkdp October 15, 2022 19:54
tests/example_stdin_data Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
tests/integration_tests.rs Outdated Show resolved Hide resolved
@sharkdp sharkdp changed the title Added --stdin-data argument Add --input argument Oct 30, 2022
@sharkdp sharkdp merged commit 42e85f2 into sharkdp:master Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow passing data to stdin
2 participants