pkgmgr pkg

Register, update, and manage packages

CommandDescription
pkgmgr pkg addAdd 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 clearRemove 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 diffReport whether a package's copy in the catalog differs from the copy in the store it is compared against, and why
pkgmgr pkg findAsk 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 listList the packages each store holds, by namespace, and with --versions or --shas the entries each one holds
pkgmgr pkg pullCopy 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 registerCopy 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 pushCopy 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 renameChange the directory a package is kept in, moving its files and keeping its label and entries
pkgmgr pkg repairReport 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 rmRemove a package from a catalog, its entries and its files, and a submodule git records for it
pkgmgr pkg updateChange what a package's entries say -- its label, directory, namespace, type or source -- moving its files where its place changes