aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-install.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'bpkg/pkg-install.hxx')
-rw-r--r--bpkg/pkg-install.hxx24
1 files changed, 24 insertions, 0 deletions
diff --git a/bpkg/pkg-install.hxx b/bpkg/pkg-install.hxx
new file mode 100644
index 0000000..83ad4de
--- /dev/null
+++ b/bpkg/pkg-install.hxx
@@ -0,0 +1,24 @@
+// file : bpkg/pkg-install.hxx -*- C++ -*-
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BPKG_PKG_INSTALL_HXX
+#define BPKG_PKG_INSTALL_HXX
+
+#include <bpkg/types.hxx>
+#include <bpkg/forward.hxx> // selected_package
+#include <bpkg/utility.hxx>
+
+#include <bpkg/pkg-command.hxx>
+#include <bpkg/pkg-install-options.hxx>
+
+namespace bpkg
+{
+ inline int
+ pkg_install (const pkg_install_options& o, cli::scanner& args)
+ {
+ return pkg_command ("install", o, args);
+ }
+}
+
+#endif // BPKG_PKG_INSTALL_HXX