Closed tyrannosaurus-becks closed 4 years ago
Other things I tried:
curl -L https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip
Warning: Binary output can mess up your terminal. Use "--output -" to tell
Warning: curl to output it to your terminal anyway, or consider "--output
Warning: <FILE>" to save to a file.
Also tried this and it worked for downloading the file, but I do think we need to make this UX easier and more obvious.
➜ ~ curl -L -O "https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip"
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 629 100 629 0 0 5469 0 --:--:-- --:--:-- --:--:-- 5469
100 9612k 100 9612k 0 0 2338k 0 0:00:04 0:00:04 --:--:-- 2741k
This relates to #154 but is not the same.
I found that wget
does a better job of handling the redirection:
➜ aws git:(terraform) ✗ wget https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip
--2020-07-22 04:48:53-- https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip
Resolving github.com (github.com)... 140.82.113.4
Connecting to github.com (github.com)|140.82.113.4|:443... connected.
........
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.171.11|:443... connected.
.....
Saving to: ‘darwin_amd64.zip’
darwin_amd64.zip 100%[===============================================>] 9.39M 14.8MB/s in 0.6s
2020-07-22 04:48:54 (14.8 MB/s) - ‘darwin_amd64.zip’ saved [9843409/9843409]
Also tried this and it worked for downloading the file, but I do think we need to make this UX easier and more obvious.
➜ ~ curl -L -O "https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip" I don't think this is bad, but it could be improved slightly by: `curl -LO "https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip" ` or `curl -L "https://github.com/cyralinc/approzium/releases/download/v0.1.1/darwin_amd64.zip" -o "approzium.zip"`
If I want to get the authenticator binary, the steps are:
If we improve this user experience, we will likely see higher adoption rates.
Needs
https://approzium.com/releases/v0.1.1/darwin_amd64.zip