in modular_cli/service/help_client.py [0:0]
def get_appropriate_command(prepared_command_path, existed_command_paths):
appropriate_command = \
list(filter(lambda x: x['command_meta']['route']['path'] ==
prepared_command_path,
existed_command_paths))
if not appropriate_command:
return
return appropriate_command[0]