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

adjust pipe behavior #8

Merged
merged 1 commit into from
May 17, 2024
Merged

adjust pipe behavior #8

merged 1 commit into from
May 17, 2024

Conversation

mkadirtan
Copy link
Owner

This PR allows for the following uses:

# HTML content is read from pipe
curl https://nooptoday.com | feed-toolbelt find --pipe
# HTML content is read from pipe, optionally URL is given for resolving relative paths
curl https://nooptoday.com | feed-toolbelt find https://nooptoday.com --pipe

# URL is read from pipe
echo https://nooptoday.com | feed-toolbelt find

@mkadirtan mkadirtan linked an issue May 17, 2024 that may be closed by this pull request
@mkadirtan mkadirtan merged commit 3332908 into main May 17, 2024
2 checks passed
@mkadirtan mkadirtan deleted the feat/piped-behaviour branch May 20, 2024 22:46
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.

Accept Piped Input with Option
1 participant