Skip to content

Commit

Permalink
implement basher upgrade --all
Browse files Browse the repository at this point in the history
  • Loading branch information
pforret committed Oct 5, 2023
1 parent 503d739 commit bf09de8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
cellar/
.idea/
5 changes: 5 additions & 0 deletions libexec/basher-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ if [ "$1" == "--complete" ]; then
exec basher-list
fi

if [ "$1" == "--all" ]; then
basher-list | xargs -n1 basher upgrade
exit 0
fi

package="$1"

if [ -z "$package" ]; then
Expand Down

0 comments on commit bf09de8

Please sign in to comment.