blob: 0628a06ebdb5bf989a487accc1d39f9c84b0af1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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/configuration-options>
namespace bpkg
{
// Common pkg-{update,clean,test,install,...} implementation.
//
void
pkg_command (const string& cmd, // Without the 'pkg-' prefix.
const configuration_options&,
cli::scanner& args);
}
#endif // BPKG_PKG_COMMAND
|