diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-22 13:41:54 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-22 13:41:54 +0200 |
commit | 738050f2a71b2f0d094a692cc48c94653b82287f (patch) | |
tree | 874b79e5017be0aefde4f9427ecf6fc95cbe36be /bpkg/rep-fetch-options.cli | |
parent | 221f0250fcd7cba4fa4b5e4fd6c0d410eb6e5811 (diff) |
Implement rep-fetch command
Diffstat (limited to 'bpkg/rep-fetch-options.cli')
-rw-r--r-- | bpkg/rep-fetch-options.cli | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/bpkg/rep-fetch-options.cli b/bpkg/rep-fetch-options.cli new file mode 100644 index 0000000..0e43eda --- /dev/null +++ b/bpkg/rep-fetch-options.cli @@ -0,0 +1,33 @@ +// file : bpkg/rep-fetch-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-rep-fetch" + +"\h{SYNOPSIS} + +bpkg rep-fetch [<options>]" + +"\h{DESCRIPTION} + +The \cb{rep-fetch} command recursively fetches the prerequisite repository +and available package lists for all the repositories that were added +(\cb{rep-add}) to the configuration." +*/ + +namespace bpkg +{ + class rep_fetch_options: common_options + { + dir_path --directory|-d (".") + { + "<dir>", + "Assume configuration is in <dir> rather than in the current working + directory." + }; + }; +} |