5 #ifndef CVMFS_PUBLISH_CMD_MKFS_H_
6 #define CVMFS_PUBLISH_CMD_MKFS_H_
16 virtual std::string
GetName()
const {
return "mkfs"; }
18 return "Create a new, empty repository";
23 "HTTP endpoint of the authoritative storage if not localhost"));
26 "Upstream storage definition if other than local file system"));
29 "User account that should own the published files"));
32 "Enable to mark the repository as source for stratum 1 copies"));
35 "Enforce aufs or overlayfs if both are available"));
38 "Settings for an S3 bucket, use with -w and -u flags"));
41 "Disable automatic creation of timestamp tags, useful with --gc"));
44 "Specify a `date` compatible time windows for keeping auto tags"));
47 "Select a secure hash algorithm: sha1 (default) or rmd160 or shake128"));
50 "Make the repository garbage-collectable"));
53 "Mark the repository contents as volatile for client caches"));
56 "Select the compression algorithm: zlib (default) or none"));
59 "Use existing keys instead of creating new ones"));
62 "Write repository keychain to directory different from /etc/cvmfs/keys"));
65 "Disable creation of Apache config files, e.g. for S3 backend"));
68 "Only create repository but do not configure node as a publisher"));
71 "Require a master key card for the whitelist signature"));
74 "Set the membership requirement to access the repository"));
77 "Enable to use this repository for external data"));
81 return "[options] <fully qualified repository name>";
85 virtual int Main(
const Options &options);
90 #endif // CVMFS_PUBLISH_CMD_MKFS_H_
virtual std::string GetName() const
static Parameter Optional(const std::string &key, char short_key, const std::string &arg_name, const std::string &desc)
virtual unsigned GetMinPlainArgs() const
virtual int Main(const Options &options)
static Parameter Switch(const std::string &key, char short_key, const std::string &desc)
virtual std::string GetBrief() const
std::vector< Parameter > ParameterList
virtual std::string GetUsage() const
virtual ParameterList GetParams() const