diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-23 19:05:22 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-12-28 17:39:03 +0300 |
commit | 42ae47c3033a8c9ce70f1e6fb4c88ed70ac679fb (patch) | |
tree | bdd2cdbf35b4dfbfbc77763156182f03d497ad16 /bpkg/rep-info.cli | |
parent | dc5296af63000cddc4b46fc205137c20578cb81f (diff) |
Add repository type detection
Diffstat (limited to 'bpkg/rep-info.cli')
-rw-r--r-- | bpkg/rep-info.cli | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bpkg/rep-info.cli b/bpkg/rep-info.cli index 8bad234..d2ce9b6 100644 --- a/bpkg/rep-info.cli +++ b/bpkg/rep-info.cli @@ -2,6 +2,8 @@ // copyright : Copyright (c) 2014-2017 Code Synthesis Ltd // license : MIT; see accompanying LICENSE file +include <libbpkg/manifest.hxx>; + include <bpkg/common.cli>; "\section=1" @@ -91,6 +93,16 @@ namespace bpkg manifests." } + repository_type --type + { + "<type>", + "Specify the repository type with valid values being \cb{bpkg} and + \cb{git}. Normally the repository type can be automatically guessed by + examining its URL (for example, the presence of the \cb{.git} + extension) or, in case of a local repository, its content (for example, + the presence of the \cb{.git} subdirectory)." + } + string --directory|-d // String to allow empty value. { "<dir>", |