[feature]: new version is available should be prompted
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 18.5k
- Forks
- 2.4k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 101
Description
Is there an existing feature request for this?
- I have searched the existing issues
Summary
Similar to zsh shell or any other CLI, once keploy has new release a user should be prompted just once that a new version is available and whether they want to update the version or not. In case the user doesn't want to update and enter [N] or [No], they shouldn't be prompt again in next turn. it should be saved in .keploy file alongside with installation id, and since they have selected no, each time they run keploy there should be a warning log that shows new version and command to update to latest version i.e. keploy update
Why should this be worked on?
Usually, people are not aware that a new keploy version is released, and continue to work on old version till they see the release note or community call.
Repository
keploy
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CLI version-check and update entry points, then inspect how the .keploy file stores the installation ID. Trace the existing keploy update command and determine how to persist a declined prompt, show the warning on later runs, and avoid prompting more than once.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100