...
curl option -# | Displays a rudimentary progress bar to show download progress. | ||
---|---|---|---|
curl option -O | Downloads the .nupkg file to the current folder using the file name specified on the Extend server. See https://curl.haxx.se/docs/manpage.html#-O | ||
curl option -J | Tells the -O option to use the server-specified Content-Disposition filename instead of extracting a filename from the URL. See https://curl.haxx.se/docs/manpage.html#-J. | ||
<id> | Specify the ID of the extension you would like to download. The ID of an extension always takes the form com.castsoftware.<name>, without any version numbers. You can determine the ID of an extension using the CAST the CAST Extend website: | ||
[<version>] | Specify the version number of the extension you would like to download. You can determine the ID of an extension using the CAST Extend website:
| ||
-H "x-nuget-apikey: <my_api_key>" | Sends your your unique API key as a header - this will grant you access without needing to authenticate. You can find your API key in your user profile in the CAST Extend website: | ||
-H "accept: application/octet-stream" | Tells the server (CAST Extend) that the client (curl) is able to accept a specific type of binary download. |
...