cli
cli copied to clipboard
Upgrade command
Hi,
I made a first implementation of the upgrade command.
It's not completely finished, the different flags are missing in the build part.
For example like this for brew:
go build -o bin/railway "-ldflags "-X main.OriginalInstallationMethod=brew"
And finally I'm waiting for your feedback especially on the gender difference between yarn and npm.
thank you have a good day
Hi, thanks for your return
What remains to be done is to implement the build part @JakeCooper
Ah shit I see what you mean. I don't know if there's a way to actually ship those multiple binaries without a ton of work.
Added a comment but you may just want to get with the execution path method and then throw if you can't find it for brew/yarn/npm/curl
Hum ok I will try with only the path of the executable. I thinks is not cover all the case but we can start with this i this it.
Couple comments and build looks to be failling. If we can resolve those, would love to get this merged!