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 update command to the CLI #169

Closed
autodidaddict opened this issue Apr 12, 2024 · 5 comments
Closed

Add update command to the CLI #169

autodidaddict opened this issue Apr 12, 2024 · 5 comments
Assignees
Labels
accepted The defect or proposal as been accepted proposal Enhancement idea or proposal

Comments

@autodidaddict
Copy link
Contributor

Proposed change

Run nex update and it will automatically update the nex binary.

Use case

For people who don't like having to remember what toolchain they used to install a given binary (was it brew? apt? nix? asdf? curl?), it just makes life so much easier if we can do nex update and have it update to the latest version. note that this just applies to replacing the binary being run, and doesn't affect a running process

Contribution

No response

@autodidaddict autodidaddict added the proposal Enhancement idea or proposal label Apr 12, 2024
@jordan-rash
Copy link
Contributor

I had this on my todo list... thanks for making the issue

@jordan-rash jordan-rash self-assigned this Apr 15, 2024
@jordan-rash
Copy link
Contributor

Stage 1 complete: #174

@autodidaddict autodidaddict added the accepted The defect or proposal as been accepted label Apr 22, 2024
@autodidaddict
Copy link
Contributor Author

autodidaddict commented Apr 22, 2024

For clarity this issue remains open as the nex update functionality hasn't been created yet

@jordan-rash
Copy link
Contributor

Stage 2 complete: #200

Last piece missing is to add some logic around what happens if you update the binary with a node running

@jordan-rash
Copy link
Contributor

Satisfied by #174 and #200

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted The defect or proposal as been accepted proposal Enhancement idea or proposal
Projects
None yet
Development

No branches or pull requests

2 participants