Skip to content

Commit

Permalink
implemented 'basher upgrade --all'
Browse files Browse the repository at this point in the history
  • Loading branch information
pforret committed Feb 29, 2024
1 parent 503d739 commit f47c2e6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions libexec/basher-upgrade
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ if [ "$1" == "--complete" ]; then
exec basher-list
fi

if [ "$1" == "--all" ]; then
basher-outdated |
while read -r package; do
echo "# $package"
basher-upgrade "$package"
done
exit 0
fi

package="$1"

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

0 comments on commit f47c2e6

Please sign in to comment.