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

added docstrings

This commit is contained in:
Kelly Brazil
2020-02-13 10:08:43 -05:00
parent 0d370eb403
commit 81c11a975c

View File

@ -88,6 +88,7 @@ def parser_module(parser):
def parsers_text(indent=0, pad=0):
"""return the argument and description information from each parser"""
ptext = ''
for parser in parsers:
parser_arg = parser_argument(parser)
@ -105,6 +106,7 @@ def parsers_text(indent=0, pad=0):
def about_jc():
"""return jc info and the contents of each parser.info as a dictionary"""
parser_list = []
for parser in parsers:
@ -134,6 +136,7 @@ def about_jc():
def helptext(message):
"""return the help text with the list of parsers"""
parsers_string = parsers_text(indent=12, pad=17)
helptext_string = f'''