diff options
Diffstat (limited to 'bpkg/pkg-command')
-rw-r--r-- | bpkg/pkg-command | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bpkg/pkg-command b/bpkg/pkg-command new file mode 100644 index 0000000..225a112 --- /dev/null +++ b/bpkg/pkg-command @@ -0,0 +1,21 @@ +// file : bpkg/pkg-command -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_PKG_COMMAND +#define BPKG_PKG_COMMAND + +#include <bpkg/types> +#include <bpkg/pkg-common-options> + +namespace bpkg +{ + // Common pkg-{update,clean,test,install,...} implementation. + // + void + pkg_command (const string& cmd, // Without the 'pkg-' prefix. + const pkg_common_options&, + cli::scanner& args); +} + +#endif // BPKG_PKG_COMMAND |