From 7acf8ce6111e3740decd39b92c3383fcbdd00e21 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Mar 2018 14:34:12 +0200 Subject: Implement fetch command --- bdep/fetch.cli | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 bdep/fetch.cli (limited to 'bdep/fetch.cli') diff --git a/bdep/fetch.cli b/bdep/fetch.cli new file mode 100644 index 0000000..f5e17d3 --- /dev/null +++ b/bdep/fetch.cli @@ -0,0 +1,47 @@ +// file : bdep/fetch.cli +// copyright : Copyright (c) 2014-2017 Code Synthesis Ltd +// license : MIT; see accompanying LICENSE file + +include ; + +"\section=1" +"\name=bdep-fetch" +"\summary=fetch list of available project dependencies" + +namespace bdep +{ + { + " + + ", + + "\h|SYNOPSIS| + + \c{\b{bdep fetch} [] [\b{--full}|\b{-F}] [] []} + + \c{ = \b{--directory}|\b{-d} \n + = (\b{@} | \b{--config}|\b{-c} )... | \b{--all}|\b{-a}} + + \h|DESCRIPTION| + + The \cb{fetch} command re-fetches the list of available packages in the + project's prerequisite and complement repositories, recursively. + + If the \cb{--full|-F} option is specified, then instead \cb{fetch} + performs a full re-fetch of all the repositories added to the + configuration. This mode is primarily useful when a configuration (and + some of the prerequisite/complement repositories) are shared between + several projects. In this situation an incremental fetch may result in + an inconsistent repository state." + } + + class cmd_fetch_options: project_options + { + "\h|FETCH OPTIONS|" + + bool --full|-F + { + "Perform a full re-fetch of all the repositories." + } + }; +} -- cgit v1.1