You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
New users of terve might be surprised by some things:
No versions of tf/tg are present after initial setup. This is not illogical, when you think about it. But it did surprise at least one user I was helping out. Perhaps terve --bootstrap could ask some questions and install sane default versions? Or maybe it could install stub binaries that say It looks like you're trying to run tf before installing a version!
After installing the first version of tg or tf, the user still has to activate that version using the switch command. Not illogical, but a gotcha. Perhaps installing a version when no previous version exists could trigger auto-switch?
Then again, it might be that you should keep the tool simple and stupid and just make the docs better.
The text was updated successfully, but these errors were encountered:
I agree that this is somewhat confusing. However, rather than baking in much code in the terve program itself, this I believe we could solve elegantly by spending some time setting up an actual installer (script, brew formula, or something else). If you think this might be a good idea, feel free to create a new issue for it.
I think a switch feature is definitely useful, since very often you'd want to actually use that version right away. Switch is essentially install + select (both of which are idempotent in terve), which I believe we could solve by just creating a function or script, e.g.
functiontfswitch {
terve i tf "$1"&& terve s tf "$1"
}
So yeah, I'd like to keep the tool itself as simple as possible (less code to maintain), and document it better, and extend the functionality using scripting (which is essentially limitless, if we have just the right building blocks).
New users of terve might be surprised by some things:
terve --bootstrap
could ask some questions and install sane default versions? Or maybe it could install stub binaries that sayIt looks like you're trying to run tf before installing a version!
Then again, it might be that you should keep the tool simple and stupid and just make the docs better.
The text was updated successfully, but these errors were encountered: