We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
echo sh::grep('html', sh::curl('http://example.com', array( 'location' => true )));
In current API I don't like 2 things:
curl | grep
It would be nice to have fluid API like this
sh::curl('http://example.com')->pipe('grep', 'html')->pipe('whatever');
or
sh::curl('http://example.com')->sh('grep', 'html')->sh('whatever');
sh::curl('http://example.com')->grep('html')->whatever();
@MrRio what do you think?
The text was updated successfully, but these errors were encountered:
Yeah I like that!
Sorry, something went wrong.
No branches or pull requests
In current API I don't like 2 things:
curl | grep
is intendedIt would be nice to have fluid API like this
or
or
@MrRio what do you think?
The text was updated successfully, but these errors were encountered: