diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-10 13:43:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-12-10 13:43:30 +0200 |
commit | 817ba792154689df004dbfff67d9ae54cc15584e (patch) | |
tree | 065cfd99acbe2c0772803f8f639f9d1f413fbc27 /bpkg/pkg-uninstall | |
parent | c927b2f2a9bcd8d2551759516725917b29903a28 (diff) |
Add pkg-install|install and pkg-uninstall|uninstall commands
Diffstat (limited to 'bpkg/pkg-uninstall')
-rw-r--r-- | bpkg/pkg-uninstall | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bpkg/pkg-uninstall b/bpkg/pkg-uninstall new file mode 100644 index 0000000..57f83ab --- /dev/null +++ b/bpkg/pkg-uninstall @@ -0,0 +1,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 |