You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I absolutely love the package. Great work on what you've built!
What is the current bug behavior?
hurlfmt --in curl doesn't recognize some curl parameters. (i.e. --url)
Steps to reproduce
Create example.txt file with the following curl: curl --request GET --url https://google.com
Run hurlfmt --in curl example.txt
See the error output:
Can not parse curl command at line 1: error: unexpected argument '--url' found
tip: to pass '--url' as a value, use '-- --url'
Usage: curl --request <METHOD> [url]
For more information, try '--help'.
What is the expected correct behavior?
The curl --url parameter should be accepted and the corresponding hurl should output.
Haven't had a chance to dive into the code yet, and not sure what other curl options aren't accepted, if any, but hopefully this isn't too intense of a fix. Happy to help anyway I can.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I absolutely love the package. Great work on what you've built!
What is the current bug behavior?
hurlfmt --in curl
doesn't recognize some curl parameters. (i.e.--url
)Steps to reproduce
curl --request GET --url https://google.com
hurlfmt --in curl example.txt
What is the expected correct behavior?
The curl --url parameter should be accepted and the corresponding hurl should output.
Hurl Version (
hurl --version
):Possible fixes
Haven't had a chance to dive into the code yet, and not sure what other curl options aren't accepted, if any, but hopefully this isn't too intense of a fix. Happy to help anyway I can.
Thanks in advance!
The text was updated successfully, but these errors were encountered: