FuelLabs / fuelup

⛽ The Fuel toolchain installer
https://fuellabs.github.io/fuelup/latest
Apache License 2.0
279 stars 143 forks source link

Allow creating a new toolchain from an existing one #584

Open sdankel opened 7 months ago

sdankel commented 7 months ago

Problem you are trying to solve

Currently when you create a new toolchain, it is totally blank and you have to install each component one by one.

Solution you'd like

It would be nicer if the toolchain could be created by cloning existing toolchain and modifying the components from there.

Something like:

# Create a custom toolchain called "my-custom-name" with with the same components and version as beta-5

# Option 1
fuelup toolchain new my-custom-name beta-5

# Option 2
fuelup toolchain new --clone beta-5 my-custom-name

# Option 3
fuelup toolchain new --source beta-5 my-custom-name

Notes

No response

JoshuaBatty commented 7 months ago

Sounds like a great idea. I like the look of option 2 the best out of this list.