CernVM-FS  2.12.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
cmd_lsof.h
Go to the documentation of this file.
1 
5 #ifndef CVMFS_PUBLISH_CMD_LSOF_H_
6 #define CVMFS_PUBLISH_CMD_LSOF_H_
7 
8 #include <string>
9 
10 #include "publish/command.h"
11 
12 namespace publish {
13 
14 class CmdLsof : public Command {
15  public:
16  virtual std::string GetName() const { return "lsof"; }
17  virtual std::string GetBrief() const {
18  return "Internal helper";
19  }
20  virtual std::string GetDescription() const {
21  return "Internal helper. Will be removed. Don't use.";
22  }
23  virtual std::string GetUsage() const { return "<path>"; }
24  virtual unsigned GetMinPlainArgs() const { return 1; }
25  virtual ParameterList GetParams() const { return ParameterList(); }
26  virtual bool IsHidden() const { return true; }
27 
28  virtual int Main(const Options &options);
29 };
30 
31 } // namespace publish
32 
33 #endif // CVMFS_PUBLISH_CMD_LSOF_H_
virtual std::string GetDescription() const
Definition: cmd_lsof.h:20
virtual unsigned GetMinPlainArgs() const
Definition: cmd_lsof.h:24
virtual std::string GetBrief() const
Definition: cmd_lsof.h:17
virtual int Main(const Options &options)
Definition: cmd_lsof.cc:14
virtual std::string GetName() const
Definition: cmd_lsof.h:16
virtual std::string GetUsage() const
Definition: cmd_lsof.h:23
std::vector< Parameter > ParameterList
Definition: command.h:92
virtual ParameterList GetParams() const
Definition: cmd_lsof.h:25
virtual bool IsHidden() const
Definition: cmd_lsof.h:26