// 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 #include // selected_package #include namespace bpkg { // Common pkg-{update,clean,test,install,...} implementation. // int pkg_command (const string& cmd, // Without the 'pkg-' prefix. const configuration_options&, cli::scanner& args); void pkg_command (const string& cmd, const dir_path& configuration, const shared_ptr&); } #endif // BPKG_PKG_COMMAND