mise icon indicating copy to clipboard operation
mise copied to clipboard

`rtx export`

Open jdx opened this issue 1 year ago • 0 comments

I have a vague idea for a new command, working title is rtx export but there are a lot of names I've thought of that might also work like rtx bootstrap or rtx persist. This feature is definitely not top on my list, but I figured I would write about it to see what people think.

The idea is that if you run this, rtx will write out a (likely very large) bash script that can be used to install and run all of the dependencies for a project in a cross-platform way. The goal here is that you could use these scripts on CI/CD or other developers machines and those boxes do not need to have rtx installed, the script would idempotently fetch all of the tools.

I'm not totally sure just how useful this would be though, and it might be quite complex. If it sounds interesting to you or you have other ideas let me know.

I also wonder if this might be better suited to a plugin. It would need to look quite a bit different than current plugins though since it would need meta-information about rtx's configuration.

jdx avatar May 20 '23 22:05 jdx