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

interactive use cmd #7

Merged
merged 10 commits into from
Jul 7, 2022
Merged

interactive use cmd #7

merged 10 commits into from
Jul 7, 2022

Conversation

dpastoor
Copy link
Owner

@dpastoor dpastoor commented Jul 1, 2022

This PR adds interactivity to use similar to install

In demo'ing with @kylebaron noticed just doing qvm use panic'd given how it was naively passing the 0th index of the args without a length check so also fixes that bug.

The new behavior looks like:

qvm use
? Which version do you want to use?  [Use arrows to move, type to filter]
> v0.9.636
  v0.9.629 - **active**
  v0.9.587
  v0.9.583
  v0.9.565
  v0.9.563
  v0.9.562
  v0.9.561
  v0.9.559
  v0.9.550

@dpastoor
Copy link
Owner Author

dpastoor commented Jul 1, 2022

@kylebaron - updated as v0.0.4 as of now

Give that a try:

wget https://github.com/dpastoor/qvm/releases/download/v0.0.4/qvm_Linux_x86_64.tar.gz -O /tmp/qvm.tar.gz
tar xzf /tmp/qvm.tar.gz qvm
mv qvm ~/bin/qvm
chmod +x ~/bin/qvm
Screen.Recording.2022-07-01.at.3.52.10.PM.mov

@dpastoor dpastoor merged commit e5a32b3 into main Jul 7, 2022
@dpastoor dpastoor deleted the feat/use branch January 14, 2023 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant