tools: add 'nfdc cs config' command
refs #4050
Change-Id: Ifc49b78a286b1947452d3d7917b5937b95d1bfe5
diff --git a/tools/nfdc/cs-module.hpp b/tools/nfdc/cs-module.hpp
index 143b3e4..7634d3d 100644
--- a/tools/nfdc/cs-module.hpp
+++ b/tools/nfdc/cs-module.hpp
@@ -26,6 +26,7 @@
#ifndef NFD_TOOLS_NFDC_CS_MODULE_HPP
#define NFD_TOOLS_NFDC_CS_MODULE_HPP
+#include "command-parser.hpp"
#include "module.hpp"
namespace nfd {
@@ -40,6 +41,16 @@
class CsModule : public Module, noncopyable
{
public:
+ /** \brief register 'cs config' command
+ */
+ static void
+ registerCommands(CommandParser& parser);
+
+ /** \brief the 'cs config' command
+ */
+ static void
+ config(ExecuteContext& ctx);
+
void
fetchStatus(Controller& controller,
const function<void()>& onSuccess,