// file : bpkg/pkg-checkout.cli // license : MIT; see accompanying LICENSE file include ; "\section=1" "\name=bpkg-pkg-checkout" "\summary=check out package version" namespace bpkg { { " ", "\h|SYNOPSIS| \c{\b{bpkg pkg-checkout} [] \b{/}} \h|DESCRIPTION| The \cb{pkg-checkout} command checks out the specified package version from one of the version control-based repositories (\l{bpkg-rep-add(1)}). The resulting package state is \cb{unpacked} (\l{bpkg-pkg-status(1)}). If the \cb{--replace|-r} option is specified, then \cb{pkg-checkout} will replace the archive and/or source directory of a package that is already in the \cb{unpacked} or \cb{fetched} state." } class pkg_checkout_options: configuration_options { "\h|PKG-CHECKOUT OPTIONS|" bool --replace|-r { "Replace the source directory if the package is already fetched or unpacked." } }; " \h|DEFAULT OPTIONS FILES| See \l{bpkg-default-options-files(1)} for an overview of the default options files. For the \cb{pkg-checkout} command the search start directory is the configuration directory. The following options files are searched for in each directory and, if found, loaded in the order listed: \ bpkg.options bpkg-pkg-checkout.options \ The following \cb{pkg-checkout} command options cannot be specified in the default options files: \ --directory|-d \ " }