5 #ifndef CVMFS_PUBLISH_CMD_INFO_H_
6 #define CVMFS_PUBLISH_CMD_INFO_H_
16 virtual std::string
GetName()
const {
return "info"; }
18 return "Show summary information about a repository";
21 return "Shows high-level data about a repository, such as its name, "
22 "whitelist expiry, etc. For stratum 0/1 repositories managed on the "
23 "machine, additionally shows the main configuration settings.";
26 return "[options] <repository name / URL>";
31 "Path to the directory containing the repository public key"));
33 "Print the repository global meta information"));
35 "Path to sqlite statistics output file"));
39 virtual int Main(
const Options &options);
44 #endif // CVMFS_PUBLISH_CMD_INFO_H_
virtual std::string GetUsage() const
virtual ParameterList GetParams() const
static Parameter Optional(const std::string &key, char short_key, const std::string &arg_name, const std::string &desc)
virtual std::string GetBrief() const
virtual std::string GetName() const
static Parameter Switch(const std::string &key, char short_key, const std::string &desc)
virtual int Main(const Options &options)
std::vector< Parameter > ParameterList
virtual std::string GetDescription() const