aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-uninstall
blob: 57f83abdd61b18a48fdd8ae21e4357edfb22942c (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-2015 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