eXist-db / xst

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

feat(package): uninstall with dependency check #64

Closed line-o closed 1 year ago

line-o commented 1 year ago

closes #61

xst package uninstall [options] <packages..>

Uninstall packages

Options:
      --version  Show version number                                                       [boolean]
      --config   configuration to use
      --help     Show help                                                                 [boolean]
  -G, --color    Color the output                                         [boolean] [default: false]
  -f, --force    Force uninstall without dependency check                 [boolean] [default: false]
      --raw      Return raw JSON returned from server                     [boolean] [default: false]

Example output

❯ xst package uninstall test-app test-lib --config ~/.env
✔︎ http://exist-db.org/apps/test-app uninstalled
✔︎ http://exist-db.org/apps/test-lib uninstalled
❯ xst package uninstall templating --config spec/fixtures/.xstrc
✘ Package 'templating' has dependents: fundocs, exist-documentation, monex
github-actions[bot] commented 1 year ago

:tada: This PR is included in version 1.3.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: