in modular_cli/service/help_client.py [0:0]
def prettify_command_parameters(command_parameters):
table_data = []
for each_param in command_parameters:
table_data.append([
'\t',
'\t',
'--' + str(each_param["name"]) + ',',
'-' + str(each_param["alias"]) + ',' if each_param[
'alias'] else '',
str('*' if each_param["required"] else ''),
each_param["description"]
])
return tabulate(tabular_data=table_data, tablefmt="plain")