aboutsummaryrefslogtreecommitdiff
path: root/src/cpt-list
blob: b808e74f2e0004e4a3b5d9ad798235a3df91117f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh -ef
# List installed packages

# shellcheck disable=1091
if command -v cpt-lib >/dev/null; then . cpt-lib; else . ./cpt-lib; fi

case "$1" in
    --help|-h) out "usage: ${0##*/} [pkg...]"; exit 1 ;;
    --version|-v) version ;;
esac

pkg_list "$@"