Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hoblin/asdf-versions-init
https://github.com/hoblin/asdf-versions-init
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/hoblin/asdf-versions-init
- Owner: hoblin
- License: mit
- Created: 2024-11-25T14:40:30.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-25T14:56:26.000Z (about 1 month ago)
- Last Synced: 2024-11-25T15:36:25.587Z (about 1 month ago)
- Language: Shell
- Size: 0 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# asdf-versions-init
A utility to generate `.tool-versions` file for asdf version manager from legacy version files (`.ruby-version`, `.nvmrc`, etc.)
## Installation
```bash
curl -sSL https://raw.githubusercontent.com/hoblin/asdf-versions-init/main/install.sh | bash
```Or manual installation:
```bash
sudo curl -sSL https://raw.githubusercontent.com/hoblin/asdf-versions-init/main/asdf-versions-init -o /usr/local/bin/asdf-versions-init
sudo chmod +x /usr/local/bin/asdf-versions-init
```## Usage
```bash
# Show help
asdf-versions-init --help# Generate .tool-versions in current directory
asdf-versions-init# Preview what would be generated
asdf-versions-init --dry-run# Force overwrite existing .tool-versions
asdf-versions-init --force
```## Supported Version Files
- `.ruby-version` -> ruby
- `.nvmrc` -> nodejs
- `.python-version` -> python## License
MIT Licensed