aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-command
blob: 225a11221c0bec7b6a2ca3ebb593ddcca43ab9d5 (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/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