aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-clean
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-18 07:58:04 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-18 07:58:04 +0200
commitf146720a3800fa2a9025a7326e0f0a2ce9048364 (patch)
treeef463d23a347032fe1c30e617223edd80bdf6278 /bpkg/pkg-clean
parent9accdefc33940d713828195313ca1a0eb0de030f (diff)
Implement pkg-clean command
Diffstat (limited to 'bpkg/pkg-clean')
-rw-r--r--bpkg/pkg-clean21
1 files changed, 21 insertions, 0 deletions
diff --git a/bpkg/pkg-clean b/bpkg/pkg-clean
new file mode 100644
index 0000000..baed20a
--- /dev/null
+++ b/bpkg/pkg-clean
@@ -0,0 +1,21 @@
+// file : bpkg/pkg-clean -*- C++ -*-
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+#ifndef BPKG_PKG_CLEAN
+#define BPKG_PKG_CLEAN
+
+#include <bpkg/types>
+#include <bpkg/pkg-command>
+#include <bpkg/pkg-clean-options>
+
+namespace bpkg
+{
+ inline void
+ pkg_clean (const pkg_clean_options& o, cli::scanner& args)
+ {
+ pkg_command ("clean", o, args);
+ }
+}
+
+#endif // BPKG_PKG_CLEAN