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 filter to list command #10

Merged
merged 1 commit into from
Oct 7, 2023
Merged

Add update filter to list command #10

merged 1 commit into from
Oct 7, 2023

Conversation

wagoodman
Copy link
Contributor

@wagoodman wagoodman commented Oct 7, 2023

Can list out only the updates needed based on the configured version and the installed version:

$ binny list --updates
 TOOL        UPDATE            
───────────────────────────────
 binny       0ccc593 → e2f8a97 
 gh          v2.36.0 → v2.35.0 
 goreleaser  v1.21.2 → v1.21.1 
 syft        v0.92.0 → v0.91.0

Compared with the vanilla list command:

$ binny list
 TOOL           DESIRED VERSION                                                                          
─────────────────────────────────────────────────────────────────────────────────────────────────────────
 benchstat      ?                  tool is not configured                                                
 binny          current (e2f8a97)  installed version (0ccc593) does not match resolved version (e2f8a97) 
 bouncer        v0.4.0                                                                                   
 chronicle      v0.8.0                                                                                   
 gh             v2.35.0            installed version (v2.36.0) does not match resolved version (v2.35.0) 
 glow           v1.5.1                                                                                   
 golangci-lint  v1.54.2                                                                                  
 goreleaser     v1.21.1            installed version (v1.21.2) does not match resolved version (v1.21.1) 
 gosimports     v0.3.8                                                                                   
 quill          v0.4.1                                                                                   
 syft           v0.91.0            installed version (v0.92.0) does not match resolved version (v0.91.0) 
 task           v3.30.1  

@wagoodman wagoodman added the enhancement New feature or request label Oct 7, 2023
@wagoodman wagoodman merged commit 6d36ecb into main Oct 7, 2023
2 checks passed
@wagoodman wagoodman deleted the list-updates branch October 7, 2023 14:29
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

Successfully merging this pull request may close these issues.

1 participant