Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 1.28 KB

README.md

File metadata and controls

26 lines (22 loc) · 1.28 KB

license CI Go Report Card

asdf syncher

An asdf plugin that reads a .tool-versions and generates the asdf commands to sync up with it.

The use case is, you and your teammates are using asdf to manage tools, you commit a .tool-versions into a repo. Someone else clones the repo. They need to install all the required plugins and tool versions implied by the .tool-versions. That's where syncher comes in. Run it, and save it's output as a script in the repo. Others then can clone the repo, run the syncher script, and they will add all the plugins needed as well as install the required tool versions.

Usage

asdf plugin-add syncher https://github.com/nwillc/syncher.git
asdf list all syncher
asdf install syncher x.y.z
asdf global syncher x.y.z
asdf reshim syncher
asdf syncher

The output from asdf syncher will be a shell script that syncs up the plugins and installations.