aboutsummaryrefslogtreecommitdiff
path: root/bpkg/pkg-status-options.cli
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-09-16 16:12:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-09-16 16:12:31 +0200
commitac6df7a77682bf33b486d451c67ed9650bd9bc2f (patch)
tree144c60ce90390e0eb07f73843606daab61753758 /bpkg/pkg-status-options.cli
parent829c0083b1684e7513e0bd1bb0a92f767ba83f77 (diff)
Implement pkg-status, pkg-purge commands; start ad-hoc test
Diffstat (limited to 'bpkg/pkg-status-options.cli')
-rw-r--r--bpkg/pkg-status-options.cli34
1 files changed, 34 insertions, 0 deletions
diff --git a/bpkg/pkg-status-options.cli b/bpkg/pkg-status-options.cli
new file mode 100644
index 0000000..700f5fa
--- /dev/null
+++ b/bpkg/pkg-status-options.cli
@@ -0,0 +1,34 @@
+// file : bpkg/pkg-status-options.cli
+// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+// license : MIT; see accompanying LICENSE file
+
+include <bpkg/common-options.cli>;
+
+/*
+"\section=1"
+"\name=bpkg-pkg-status"
+
+"\h{SYNOPSIS}
+
+bpkg pkg-status <pkg> [<ver>]"
+
+"\h{DESCRIPTION}
+
+The \cb{pkg-status} command prints the status of the specified
+package or, if the <ver> argument is provided, package version.
+Note that the status is written to \cb{STDOUT}, not \cb{STDERR}.
+@@ TODO: output form and possible status values."
+*/
+
+namespace bpkg
+{
+ class pkg_status_options: common_options
+ {
+ dir_path --directory|-d (".")
+ {
+ "<dir>",
+ "Assume configuration is in <dir> rather than in the current working
+ directory."
+ };
+ };
+}