curl-to-go
curl-to-go copied to clipboard
Replace all historic boolean arguments with all current args
This PR adds all of curl's arguments as they appear in curl's source code right now, as well as allowing shortening of arguments like curl does, so for example you can pass --ur instead of --url (--u doesn't work because there's more than one option that starts with --u). I added handling of --. Unknown arguments now cause errors.
I ended up deleting the arguments that have been deleted from curl, so if someone is copying in an old curl command they may get an "Unknown flag" error. I'm working on adding all the deleted arguments as well.
Thanks for working on this. Sorry I haven't been able to review it yet. Been busy preparing for a conference I'm speaking at next week, so it might be a while yet.