Google Cloud SQL Auth proxy plugin for the asdf version manager.
I stopped using asdf-vm and archived this repository. If you're using this plugin, please consider forking the repository and having it added to the upstream plugin list at https://github.com/asdf-vm/asdf-plugins.
curl
- for cloudsql-proxy downloads from upstream releases
Plugin:
$ asdf plugin-add cloudsql-proxy https://github.com/itspngu/asdf-cloudsql-proxy
cloudsql-proxy:
# Show all installable versions
$ asdf list-all cloudsql-proxy
# Install specific version
$ asdf install cloudsql-proxy latest
# Set a version globally (in your ~/.tool-versions file)
$ asdf global cloudsql-proxy latest
# Run cloudsql-proxy
$ cloudsql-proxy -version
Cloud SQL Auth proxy: 1.22.0+linux.amd64
# The binary's name diverges from upstream's "cloud_sql_proxy", but there's a symlink for compatibility:
$ cloud_sql_proxy -version
Cloud SQL Auth proxy: 1.22.0+linux.amd64
Refer to the upstream Google Cloud SQL Auth proxy repository for documentation and usage instructions.
Check the asdf readme for more instructions on how to install & manage versions.
See LICENSE