aboutsummaryrefslogtreecommitdiff
path: root/bdep/deinit.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-13 12:51:21 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-13 12:52:23 +0200
commit40632ed4dc0a51149ab034cebed6227db21c9dab (patch)
tree2f5654ff888ff7b1db8b4a374d4112b19d5f34fc /bdep/deinit.cli
parent9721773b915adf0bf7fcfb2bf8550787588e0aa2 (diff)
Implement deinit command
Diffstat (limited to 'bdep/deinit.cli')
-rw-r--r--bdep/deinit.cli45
1 files changed, 45 insertions, 0 deletions
diff --git a/bdep/deinit.cli b/bdep/deinit.cli
new file mode 100644
index 0000000..bfcec51
--- /dev/null
+++ b/bdep/deinit.cli
@@ -0,0 +1,45 @@
+// file : bdep/deinit.cli
+// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bdep/project.cli>;
+
+"\section=1"
+"\name=bdep-deinit"
+"\summary=deinitialize project in build configurations"
+
+namespace bdep
+{
+ {
+ "<options>
+ <prj-spec> <prj-dir>
+ <pkg-spec> <pkg-dir>
+ <cfg-spec> <cfg-name> <cfg-dir>",
+
+ "\h|SYNOPSIS|
+
+ \c{\b{bdep deinit} [<options>] [<pkg-spec>] [<cfg-spec>]}
+
+ \c{<cfg-spec> = (\b{@}<cfg-name> | \b{--config}|\b{-c} <cfg-dir>)... | \b{--all}|\b{-a}\n
+ <pkg-spec> = (\b{--directory}|\b{-d} <pkg-dir>)... | <prj-spec>\n
+ <prj-spec> = \b{--directory}|\b{-d} <prj-dir>}
+
+ \h|DESCRIPTION|
+
+ The \cb{deinit} command deinitializes the specified project packages
+ (<pkg-spec>), or, if the project itself is specified (<prj-spec>), all
+ its previously initialized packages, in one or more build configurations
+ (<cfg-spec>).
+
+ If no project directory is specified, then the current working directory
+ is assumed. If no configuration is specified, then the default
+ configuration is assumed. See \l{bdep-projects-configs(1)} for details on
+ specifying projects and configurations.
+ "
+ }
+
+ class cmd_deinit_options: project_options
+ {
+ "\h|DEINIT OPTIONS|"
+ };
+}