From 94c3574492b6db6ae8d5fbef717f8e6f92f1d402 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 2 Sep 2015 17:09:57 +0200 Subject: Command line options/commands/help infrastructure --- bpkg/bpkg-options.cli | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 bpkg/bpkg-options.cli (limited to 'bpkg/bpkg-options.cli') diff --git a/bpkg/bpkg-options.cli b/bpkg/bpkg-options.cli new file mode 100644 index 0000000..46cd4eb --- /dev/null +++ b/bpkg/bpkg-options.cli @@ -0,0 +1,41 @@ +// file : bpkg/bpkg-options.cli +// copyright : Copyright (c) 2014-2015 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include ; + +namespace bpkg +{ + class bpkg_options: common_options + { + bool --help; + bool --version; + }; + + class bpkg_commands + { + bool help + { + "[]", + "Show detailed help for a command or help topic.", + "" + }; + + bool rep-create + { + "[-d ]", + "Create repository manifest file.", + "" + }; + }; + + // Make sure these don't conflict with command names above. + // + class bpkg_topics + { + bool options + { + "Detailed description of common options." + }; + }; +} -- cgit v1.1