google/python-fire

parsing function help with multiline

Aperta

#448 aperta il 8 apr 2023

 (30 commenti) (0 reazioni) (1 assegnatario)Python (1418 fork)batch import
bughelp wanted

Metriche repository

Star
 (26.214 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Can I have flexible line breaks in the help comments?

this is the help doc

def func(input_table: str):
        """Plot region mutation info using table generated by `bioat bam mpileup_to_table`.

        :param input_table: Path of table generated by `bioat bam mpileup_to_table`.
        This table should contain base mutation information from a short genome region (no more than 1k nt).

printed help I got

POSITIONAL ARGUMENTS
    INPUT_TABLE
        Type: str
        Path of table generated by `bioat bam mpileup_to_table`. This table should contain base mutation information from a short genome region (no more than 1k nt).

printed help I expacted

POSITIONAL ARGUMENTS
    INPUT_TABLE
        Type: str
        Path of table generated by `bioat bam mpileup_to_table`. 
        This table should contain base mutation information from a short genome region (no more than 1k nt).

Guida contributor