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

Use stdout #626

Merged
merged 4 commits into from
May 8, 2022
Merged

Use stdout #626

merged 4 commits into from
May 8, 2022

Conversation

chapmanjacobd
Copy link
Contributor

It's kind of a strange interface to create a file... that should be left up to the user.

With stdout you can use process substitution to interact with bdfr, for example in BASH:

python -m bdfr download bdfr/ --include-id-file <(~/bin/bdfr-failed.sh ~/.config/bdfr/log_output.txt*) 

or fish shell:

python -m bdfr download bdfr/ --include-id-file (~/bin/bdfr-failed.sh ~/.config/bdfr/log_output.txt* | psub) 

@Serene-Arc Serene-Arc changed the base branch from master to development April 19, 2022 00:31
@Serene-Arc
Copy link
Owner

Hi, seems fine to me, but please update the Bash tests for this change.

@Serene-Arc Serene-Arc self-assigned this Apr 19, 2022
@Serene-Arc Serene-Arc merged commit c410682 into Serene-Arc:development May 8, 2022
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.

2 participants