def get_command(self, ctx, cmd_name):
if cmd_name not in self.all_cmds:<EOL><INDENT>return None<EOL><DEDENT>return EventTypeSubCommand(self.events_lib, cmd_name, self.all_cmds[cmd_name])<EOL>
gets the subcommands under the service name

Parameters
----------
ctx : Context
    the context object passed into the method
cmd_name : str
    the service name
Returns
-------
EventTypeSubCommand:
    returns subcommand if successful, None if not.