aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-uninstall
blob: 47b133d4f19439bfbd851143593c9acada533ccc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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/utility>

#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