def get_command(self, ctx, cmd_name):
if cmd_name not in self.subcmd_definition:<EOL><INDENT>return None<EOL><DEDENT>parameters = []<EOL>for param_name in self.subcmd_definition[cmd_name][self.TAGS].keys():<EOL><INDENT>default = self.subcmd_definition[cmd_name][self.TAGS][param_name]["<STR_LIT:default>"]<EOL>parameters.append(click.Option(<EOL>["<STR_LIT>".format(param_name)],<EOL>default=default,<EOL>help="<STR_LIT>".format(param_name, default)<EOL>))<EOL><DEDENT>command_callback = functools.partial(self.cmd_implementation,<EOL>self.events_lib,<EOL>self.top_level_cmd_name,<EOL>cmd_name)<EOL>cmd = click.Command(name=cmd_name,<EOL>short_help=self.subcmd_definition[cmd_name]["<STR_LIT>"],<EOL>params=parameters,<EOL>callback=command_callback)<EOL>cmd = debug_option(cmd)<EOL>return cmd<EOL>
gets the Click Commands underneath a service name

Parameters
----------
ctx: Context
    context object passed in
cmd_name: string
    the service name
Returns
-------
cmd: Click.Command
    the Click Commands that can be called from the CLI