// file : bpkg/pkg-unpack-options.cli // copyright : Copyright (c) 2014-2015 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file include ; /* "\section=1" "\name=bpkg-pkg-unpack" "\h{SYNOPSIS} bpkg pkg-unpack [] |(-e )" "\h{DESCRIPTION} The \cb{pkg-unpack} command unpacks the archive for the previously fetched (\cb{pkg-fetch}) package. If the \cb{-e|--existing} option is used, then instead of the package name, \cb{pkg-unpack} expects a local path to the existing package source directory. In this case, \cb{bpkg} will use the directory in place, without copying it to the configuration or package cache directories. Also, unless the \cb{-p|--purge} option is specified, \cb{bpkg} will not attempt to remove this directory when the package is purged with the \cb{pkg-purge} command." */ namespace bpkg { class pkg_unpack_options: pkg_common_options { bool --existing|-e { "Treat the argument as an existing package directory path rather than package name to unpack." }; bool --purge|-p { "Remove the existing package directory when the package is purged." }; }; }