1password-cli plugin for the asdf version manager.
bash
,curl
,unzip
: generic POSIX utilities.gpg
,gpg2
: (Option) if you want to verify 1password-cli installer with GPG.
Plugin:
asdf plugin add 1password-cli
# or
asdf plugin add 1password-cli https://github.com/NeoHsu/asdf-1password-cli.git
1password-cli:
# Show all installable versions
asdf list-all 1password-cli
# Install specific version
asdf install 1password-cli latest
# Set a version globally (on your ~/.tool-versions file)
asdf global 1password-cli latest
# 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.