-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
💡 Proposed Idea
We're looking to implement an update feature similar to ohmyzsh, where it prompts you with a y/n option whenever you boot your terminal.
- upon installation, detect which installation method was used (npm, manual)
- Save the method of initial install on the system
On startup of a terminal, zCLI should:
- Check for a newer version
- If outdated, display an update notification (lower than the latest GitHub tag)
- Inform the user that an update is required
- Ask whether to run the update command using
y/n
.
🎉 After clicking y
:-
- Display the result of the update process (success or failure)
- If the automatic update fails, provide instructions for manual update
🤔 Where to create a command?
You can create this command at src/cmd/update.go
and make sure you use src/i18n
& src/cmdBuilder
. I also recommend looking into other files 💯
🧭 For more info
Join our discord server https://discord.gg/3yZknaRhxK
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed