curl-to-go icon indicating copy to clipboard operation
curl-to-go copied to clipboard

Replace all historic boolean arguments with all current args

Open verhovsky opened this issue 4 years ago • 1 comments

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.

verhovsky avatar Aug 01 '21 10:08 verhovsky

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.

mholt avatar Sep 02 '21 13:09 mholt