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

output option is different from htttp-go to httppie #75

Open
persep opened this issue Sep 19, 2022 · 0 comments
Open

output option is different from htttp-go to httppie #75

persep opened this issue Sep 19, 2022 · 0 comments

Comments

@persep
Copy link

persep commented Sep 19, 2022

In httppie version 0.9.8 the output option works like so:

 --output FILE, -o FILE
      Save output to FILE instead of stdout. If --download is also set, then only
      the response body is saved to FILE. Other parts of the HTTP exchange are
      printed to stderr.

But in httpie-go 0.7.0 it works like so:

-o, --output=value output file

Therefore in httppie you would use:

http https://httpbin.org/get -o test.txt

but in http-go

http-go https://httpbin.org/get -o="test.txt"

I don't know if it is intended or not but it breaks compatibility

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

No branches or pull requests

1 participant