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:
@ -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:
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user