Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ch upgrade command or include message on how to upgrade #20

Closed
camerondurham opened this issue Oct 16, 2021 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@camerondurham
Copy link
Owner

Is your feature request related to a problem? Please describe.
When a new version is released, user has to find this repo and follow instructions in the README. Instructions to upgrade should be clear from the CLI when it says a new version is released.

Describe the solution you'd like

Add a command (i.e. ch upgrade) that automatically upgrades the CLI by downloading the latest binary and replacing the existing file. This should be safe on all OS's since the OS should manually load the binary into memory and it wouldn't matter if process binary is replaced.

Describe alternatives you've considered

Print out the link to the repository instructions on how to upgrade, or print specific terminal commands to run to upgrade depending on if it's running in Windows or Unix (WSL2, macOS, normal Linux).

Additional context

n/a?

@camerondurham camerondurham self-assigned this Oct 16, 2021
@camerondurham camerondurham added the enhancement New feature or request label Oct 16, 2021
camerondurham added a commit that referenced this issue Nov 20, 2021
camerondurham added a commit that referenced this issue Nov 20, 2021
@camerondurham
Copy link
Owner Author

Resolving for now. Additional implementation to do self-download is not something I have time to safely implement and providing upgrade command is convenient enough for users. If someone disagrees, please comment, re-open, or create new issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant