5 #ifndef CVMFS_SWISSKNIFE_H_
6 #define CVMFS_SWISSKNIFE_H_
22 class DownloadManager;
31 class SignatureManager;
34 namespace swissknife {
39 return Parameter(key, desc,
false,
false);
82 virtual std::string
GetName()
const = 0;
90 #endif // CVMFS_SWISSKNIFE_H_
static Parameter Optional(const char key, const std::string &desc)
const manifest::Manifest * manifest() const
static Parameter Switch(const char key, const std::string &desc)
static const char kGenericParamSeparator
virtual ParameterList GetParams() const =0
std::vector< Parameter > ParameterList
Parameter(const char key, const std::string &desc, const bool opt, const bool switch_only)
virtual int Main(const ArgumentList &args)=0
virtual std::string GetDescription() const =0
assert((mem||(size==0))&&"Out Of Memory")
static Parameter Mandatory(const char key, const std::string &desc)
const std::string & description() const
static const char kGenericParam
std::map< char, SharedPtr< std::string > > ArgumentList
virtual std::string GetName() const =0