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-install | |
parent | c927b2f2a9bcd8d2551759516725917b29903a28 (diff) |
Add pkg-install|install and pkg-uninstall|uninstall commands
Diffstat (limited to 'bpkg/pkg-install')
-rw-r--r-- | bpkg/pkg-install | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/bpkg/pkg-install b/bpkg/pkg-install new file mode 100644 index 0000000..501e76e --- /dev/null +++ b/bpkg/pkg-install @@ -0,0 +1,22 @@ +// file : bpkg/pkg-install -*- C++ -*- +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +#ifndef BPKG_PKG_INSTALL +#define BPKG_PKG_INSTALL + +#include <bpkg/types> +#include <bpkg/forward> // selected_package +#include <bpkg/pkg-command> +#include <bpkg/pkg-install-options> + +namespace bpkg +{ + inline int + pkg_install (const pkg_install_options& o, cli::scanner& args) + { + return pkg_command ("install", o, args); + } +} + +#endif // BPKG_PKG_INSTALL |