-
-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI helper to convert asdf tool versions file to mise.toml #970
Comments
Co-authored-by: Miles Parfitt <miles.parfitt@bendigoadelaide.com.au>
we have mise/src/config/config_file/mod.rs Lines 208 to 221 in c2f0a5a
|
I think the above script could be done more simply: |
Slight variation of previous comment to handle renaming of the original file and squeeze multiple spaces: |
I think it'd be cool if there was a helper command (something like
rtx convert
maybe) that checks the current working directory and if there is a.tool-versions
file, it attempts to generate a.rtx.toml
file from it. If a.rtx.toml
file already exists in the current directory, the command could just print the generated.rtx.toml
to the console so the user can manually copy-paste if they would prefer.I made a bash alias for this:
The text was updated successfully, but these errors were encountered: