5 #ifndef CVMFS_PUBLISH_CMD_COMMIT_H_
6 #define CVMFS_PUBLISH_CMD_COMMIT_H_
17 virtual std::string
GetName()
const {
return "commit"; }
20 return "Commit changes made inside the ephemeral shell";
24 return "Commit new content from the ephemeral shell";
28 return "[options] <repository name>";
34 "repo-config",
'x',
"repository configuration",
35 "Path to the configuration of the repository gateway"));
40 std::vector<std::string> e;
42 "commit myrepo.cvmfs.io "
43 "# commit changes to myrepo.cvmfs.io");
47 virtual int Main(
const Options &options);
52 #endif // CVMFS_PUBLISH_CMD_COMMIT_H_
virtual std::string GetUsage() const
static Parameter Optional(const std::string &key, char short_key, const std::string &arg_name, const std::string &desc)
virtual int Main(const Options &options)
virtual std::string GetName() const
virtual std::string GetBrief() const
virtual std::vector< std::string > GetExamples() const
std::vector< Parameter > ParameterList
virtual ParameterList GetParams() const
virtual std::string GetDescription() const