idlcli: Add mutiple haptics command support

Bug: 176134689
Test: idlcli -n dual vibrator on 1000
Signed-off-by: chasewu <chasewu@google.com>
Change-Id: I499edd317db5858a2bc0cd76681c971926685c78
diff --git a/cmds/idlcli/utils.h b/cmds/idlcli/utils.h
index b874455..262f2e5 100644
--- a/cmds/idlcli/utils.h
+++ b/cmds/idlcli/utils.h
@@ -249,7 +249,7 @@
 
 template <typename T>
 class CommandWithSubcommands : public Command {
-private:
+protected:
     Status doArgs(Args &args) override {
         mCommand = CommandRegistry<T>::Create(*args.get());
         if (!mCommand) {