(command)
Format a sub-command of a `click.Command` or `click.Group`.
Format a sub-command of a `click.Command` or `click.Group`.
Format a sub - command of a click . Command or click . Group .
def _format_subcommand(command):
    """Format a sub-command of a `click.Command` or `click.Group`."""
    yield '.. object:: {}'.format(command.name)

    short_help = command.get_short_help_str()

    if short_help:
        yield ''
        for line in statemachine.string2lines(
            short_help, tab_width=4, convert_whitespace=True
        ):
            yield _indent(line)
def _format_subcommand ( command ) : yield '.. object:: {}' . format ( command . name ) short_help = command . get_short_help_str ( ) if short_help : yield '' for line in statemachine . string2lines ( short_help , tab_width = 4 , convert_whitespace = True ) : yield _indent ( line )