RunDMC
RunDMC copied to clipboard
Provide full command line for curl downloads
When using the curl download, it's easy to forget to wrap the URL in quotes. Failing to do so on Linux results in errors, because the ampersand splits the URL and sends an incomplete command to the background.
Resolution: instead of just giving the URL, provide the complete curl command.
Need to check how cross-platform friendly this will be. If needed, might offer complete Windows-friendly command line when downloading .msi, Linux-friendly when downloading .rpm, and Mac-friendly when downloading .dmg.
I think @kcoleman-marklogic has done some of this is our REST examples, maybe she has some suggestions?
+1
Updating to something like the following, would be very helpful.
curl -o MarkLogic-RHEL6-8.0-5.4.x86_64.rpm 'https://developer.marklogic.com/download/binaries/8.0/MarkLogic-RHEL6-8.0-5.4.x86_64.rpm?t=uniqueCode&email=emailAddress'
Don't think many people use curl on non-Linux platforms.