google/python-fire

parsing function help with multiline

オープン

#448 opened on 2023/04/08

 (30 件のコメント) (0 件のリアクション) (1 人の担当者)Python (1,418 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (26,214 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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).

コントリビューターガイド