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 CURL support #4

Closed
sharkdp opened this issue Apr 21, 2018 · 1 comment
Closed

Add CURL support #4

sharkdp opened this issue Apr 21, 2018 · 1 comment
Labels
feature-request New feature or request

Comments

@sharkdp
Copy link
Owner

sharkdp commented Apr 21, 2018

... so we can do things like

bat https://raw.githubusercontent.com/sharkdp/bat/master/src/main.rs

or just do it the UNIX way 😄

curl https://raw.githubusercontent.com/sharkdp/bat/master/src/main.rs | bat

Both cases would probably require us to infer the programming language from the file contents.

@sharkdp sharkdp added the feature-request New feature or request label May 1, 2018
@sharkdp
Copy link
Owner Author

sharkdp commented May 10, 2018

Closing this, as we can now easily do this via:

curl -s https://raw.githubusercontent.com/sharkdp/bat/master/src/main.rs | bat -l rs

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

No branches or pull requests

1 participant