5 #ifndef CVMFS_PUBLISH_CMD_ZPIPE_H_
6 #define CVMFS_PUBLISH_CMD_ZPIPE_H_
16 virtual std::string
GetName()
const {
return "zpipe"; }
18 return "Compress and decompress data with zlib";
21 return "Compresses or decompresses a file using the DEFLATE algorithm.\n"
22 "Input comes on stdin, output goes to stdout.";
27 "Decompress input data (default is compression)"));
29 "Path to input file"));
34 virtual int Main(
const Options &options);
39 #endif // CVMFS_PUBLISH_CMD_ZPIPE_H_
virtual bool IsHidden() const
virtual ParameterList GetParams() const
static Parameter Optional(const std::string &key, char short_key, const std::string &arg_name, const std::string &desc)
static Parameter Switch(const std::string &key, char short_key, const std::string &desc)
std::vector< Parameter > ParameterList
virtual std::string GetDescription() const
virtual std::string GetName() const
virtual std::string GetBrief() const
virtual int Main(const Options &options)