Skip to content

Instantly share code, notes, and snippets.

@codyaray
Last active April 24, 2019 05:13
Show Gist options
  • Save codyaray/39b3f5156e80574fdc44473ae989a9b3 to your computer and use it in GitHub Desktop.
Save codyaray/39b3f5156e80574fdc44473ae989a9b3 to your computer and use it in GitHub Desktop.
# This exists so the user can create a short URL for private repos
# API requires Accept header to download a file. We use the API to pass netrc auth via `curl -n`.
curl -ns https://api.github.com/repos/confluentinc/cli/contents/install-ccloud.sh?ref=master -H Accept:application/vnd.github.raw | bash -s -- $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment