eXist-db / xst

Command line tool to interact with exist-db instances
https://npmjs.com/@existdb/xst
MIT License
18 stars 5 forks source link

create command to update installed packages #33

Open line-o opened 2 years ago

line-o commented 2 years ago

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

update one

use non-default repository for lookups

Describe alternatives you've considered

To avoid having to move xst install to xst package install the command could also just be xst update.

Additional context

This feature request is a result of a slack discussion A first implementation for the db query

duncdrum commented 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 ;-)

line-o commented 2 years ago

@duncdrum very good point. Hadn't thought of that!

line-o commented 1 year ago

This is not done yet :)