5 #ifndef CVMFS_SWISSKNIFE_INGEST_H_
6 #define CVMFS_SWISSKNIFE_INGEST_H_
13 namespace swissknife {
17 virtual std::string
GetName()
const {
return "ingest"; }
19 return "Pushes the content of the tarball to the repository";
35 'B',
"base directory where to extract the tarfile"));
37 'D',
"entity to delete before to extract the tar"));
39 'C',
"create a new catalog where the tar file is extracted"));
46 "uid of new owner of the ingested data (-1 for keep tarball owner)"));
48 "gid of new owner of the ingested data (-1 for keep tarball owner)"));
57 #endif // CVMFS_SWISSKNIFE_INGEST_H_
static Parameter Optional(const char key, const std::string &desc)
static Parameter Switch(const char key, const std::string &desc)
std::vector< Parameter > ParameterList
int Main(const ArgumentList &args)
virtual ParameterList GetParams() const
static Parameter Mandatory(const char key, const std::string &desc)
std::map< char, SharedPtr< std::string > > ArgumentList
virtual std::string GetName() const
virtual std::string GetDescription() const