pkgmgr pkg
Register, update, and manage packages
| Command | Description |
|---|---|
pkgmgr pkg add | Add a package to a namespace of the catalog, made from a template, copied from a package the namespace holds, or taken from a source -- a directory copied in, or a git repository added as a submodule |
pkgmgr pkg clear | Remove one package's entries of one reference type from a store, with the artifacts they name -- how a stale or broken entry is cleared before the package is registered again |
pkgmgr pkg diff | Report whether a package's copy in the catalog differs from the copy in the store it is compared against, and why |
pkgmgr pkg find | Ask whether a store already holds a package, by version or by source state, and where its file is. A miss is an answer and exits 0 |
pkgmgr pkg list | List the packages each store holds, by namespace, and with --versions or --shas the entries each one holds |
pkgmgr pkg pull | Copy a package from the store configured outside this catalog into this catalog, its files and its entry, at a version or a source state |
pkgmgr pkg register | Copy package files into a store and record each in its index -- a schema document under the coordinate it declares, any other file under --coordinate -- which is how a package a store has lost or holds stale is put back |
pkgmgr pkg push | Copy a package's highest version from this catalog into the store configured outside it, its files and its entry, under the version given |
pkgmgr pkg rename | Change the directory a package is kept in, moving its files and keeping its label and entries |
pkgmgr pkg repair | Report the git submodule records a catalog's packages no longer account for -- .gitmodules sections, configuration and module directories -- and remove them with --apply |
pkgmgr pkg rm | Remove a package from a catalog, its entries and its files, and a submodule git records for it |
pkgmgr pkg update | Change what a package's entries say -- its label, directory, namespace, type or source -- moving its files where its place changes |