https://github.com/mise-plugins/asdf-yamlfmt
yamlfmt plugin for the asdf version manager
https://github.com/mise-plugins/asdf-yamlfmt
asdf asdf-plugin yaml
Last synced: about 2 months ago
JSON representation
yamlfmt plugin for the asdf version manager
- Host: GitHub
- URL: https://github.com/mise-plugins/asdf-yamlfmt
- Owner: mise-plugins
- License: mit
- Created: 2023-05-26T09:39:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-23T09:51:08.000Z (almost 2 years ago)
- Last Synced: 2026-04-27T13:33:05.111Z (about 2 months ago)
- Topics: asdf, asdf-plugin, yaml
- Language: Shell
- Homepage:
- Size: 155 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# asdf-yamlfmt
[](https://github.com/kachick/asdf-yamlfmt/actions/workflows/build.yml?query=branch%3Amain) [](https://github.com/kachick/asdf-yamlfmt/actions/workflows/lint.yml?query=branch%3Amain)
[yamlfmt](https://github.com/google/yamlfmt/) plugin for the [asdf version manager](https://asdf-vm.com).\
Tested also [mise](https://github.com/jdx/mise).
## Dependencies
- `asdf-vm` or `mise`
- `bash`, `curl`, `tar`: generic POSIX utilities.
## Install
Plugin:
```shell
asdf plugin add yamlfmt https://github.com/kachick/asdf-yamlfmt.git
```
[short-name is also available](https://github.com/asdf-vm/asdf-plugins/blob/42ef3772359cb2142e357508706acacf44fddf10/plugins/yamlfmt#L1) if you turn off [disable_plugin_short_name_repository](https://asdf-vm.com/manage/configuration.html#disable-plugin-short-name-repository)
```shell
asdf plugin add asdf-yamlfmt
```
yamlfmt:
```shell
# Show all installable versions
asdf list-all yamlfmt
# Install specific version
asdf install yamlfmt latest
# Set a version globally (on your ~/.tool-versions file)
asdf global yamlfmt latest
yamlfmt -help
```
Check [asdf](https://github.com/asdf-vm/asdf) readme for more instructions on how to
install & manage versions.
## Contributing
Contributions of any kind welcome! See the [contributing guide](CONTRIBUTING.md).
## License
See [LICENSE](LICENSE)