Open line-o opened 2 years ago
i would stick with xst package update
as it more clearly states what it does. xst update
and xst upgrade
should be reserved for updating and upgrading exist itself ;-)
@duncdrum very good point. Hadn't thought of that!
This is not done yet :)
Is your feature request related to a problem? Please describe.
As a database admin I want to quickly update all installed packages.
Describe the solution you'd like
xst package update [--repo] [<packages>..]
packages
is a space separated list of identifiers. Identifiers can be either the (abbreviated) name or the namespace URI of the package.update all
xst package update
update one
xst package update monex
xst package update http://line-o/xq/dicey
use non-default repository for lookups
xst package update --repo https://localhost:8080/exist/apps/public-repo monex
Describe alternatives you've considered
To avoid having to move
xst install
toxst package install
the command could also just bexst update
.Additional context
This feature request is a result of a slack discussion A first implementation for the db query