1password-cli plugin for the asdf version manager.
Plugin:
asdf plugin add 1password-cli https://github.com/jtzero/asdf-1password-cli.git
1password-cli:
# Show all installable versions
asdf list-all 1password-cli
# Install specific version
asdf install 1password-cli $SOME_VERSION
# Set a version globally (on your ~/.tool-versions file)
asdf global 1password-cli $SOME_VERSION
# Now 1password-cli commands are available
op --version
Check asdf readme for more instructions on how to install & manage versions.
Contributions of any kind welcome! See the contributing guide.