LCOV - code coverage report
Current view: top level - src/tools/kdb - listcommands.hpp (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 2 8 25.0 %
Date: 2019-09-12 12:28:41 Functions: 1 4 25.0 %

          Line data    Source code
       1             : /**
       2             :  * @file
       3             :  *
       4             :  * @brief
       5             :  *
       6             :  * @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
       7             :  */
       8             : 
       9             : #ifndef LIST_COMMANDS_H
      10             : #define LIST_COMMANDS_H
      11             : 
      12             : #include <command.hpp>
      13             : #include <kdb.hpp>
      14             : 
      15             : class ListCommandsCommand : public Command
      16             : {
      17             : public:
      18             :         ListCommandsCommand ();
      19             :         ~ListCommandsCommand ();
      20             : 
      21           0 :         virtual std::string getShortOptions () override
      22             :         {
      23           0 :                 return "0";
      24             :         }
      25             : 
      26           0 :         virtual std::string getSynopsis () override
      27             :         {
      28           0 :                 return "";
      29             :         }
      30             : 
      31          78 :         virtual std::string getShortHelpText () override
      32             :         {
      33         234 :                 return "List available kdb commands.";
      34             :         }
      35             : 
      36           0 :         virtual std::string getLongHelpText () override
      37             :         {
      38           0 :                 return "";
      39             :         }
      40             : 
      41             :         virtual int execute (Cmdline const & cmdline) override;
      42             : };
      43             : 
      44             : #endif

Generated by: LCOV version 1.13