1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-19 00:17:51 +02:00

simplify all_parser_info comprehension

This commit is contained in:
Kelly Brazil
2022-02-01 19:06:41 -08:00
parent 3959d3347c
commit 2f80800e38

View File

@ -256,7 +256,7 @@ def all_parser_info() -> List[Dict]:
""" """
Returns a list of dictionaries that includes metadata for all modules. Returns a list of dictionaries that includes metadata for all modules.
""" """
return [parser_info(_cliname_to_modname(p)) for p in parsers] return [parser_info(p) for p in parsers]
def get_help(parser_mod_name: str) -> None: def get_help(parser_mod_name: str) -> None:
""" """