aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-uninstall
blob: 77ed2f29a438e201c23ff232d8fd62d96236e06b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// file      : bpkg/pkg-uninstall -*- C++ -*-
// copyright : Copyright (c) 2014-2016 Code Synthesis Ltd
// license   : MIT; see accompanying LICENSE file

#ifndef BPKG_PKG_UNINSTALL
#define BPKG_PKG_UNINSTALL

#include <bpkg/types>
#include <bpkg/forward> // selected_package
#include <bpkg/pkg-command>
#include <bpkg/pkg-uninstall-options>

namespace bpkg
{
  inline int
  pkg_uninstall (const pkg_uninstall_options& o, cli::scanner& args)
  {
    return pkg_command ("uninstall", o, args);
  }
}

#endif // BPKG_PKG_UNINSTALL