5 #ifndef CVMFS_SWISSKNIFE_PULL_H_
6 #define CVMFS_SWISSKNIFE_PULL_H_
20 namespace swissknife {
25 virtual std::string
GetName()
const {
return "pull"; }
27 return "Makes a Stratum 1 replica of a Stratum 0 repository.";
59 bool Pull(
const shash::Any &catalog_hash,
const std::string &path);
64 #endif // CVMFS_SWISSKNIFE_PULL_H_
static Parameter Optional(const char key, const std::string &desc)
static Parameter Switch(const char key, const std::string &desc)
int Main(const ArgumentList &args)
bool PullRecursion(catalog::Catalog *catalog, const std::string &path)
std::vector< Parameter > ParameterList
virtual ParameterList GetParams() const
static Parameter Mandatory(const char key, const std::string &desc)
virtual std::string GetDescription() const
std::map< char, SharedPtr< std::string > > ArgumentList
bool Pull(const shash::Any &catalog_hash, const std::string &path)
virtual std::string GetName() const