import click

import proscli
from proscli.utils import default_options


def main():
    # the program name should always be pros. don't care if it's not...
    try:
        cli.main(prog_name='pros')
    except KeyboardInterrupt:
        click.echo('Aborted!')
        pass

import prosconductor.providers.utils

@proscli.flasher_cli.command('help', short_help='Show this message and exit.')
@click.argument('ignore', nargs=-1, expose_value=False)
@default_options
@click.pass_context
def help_cmd(ctx):
    click.echo(prosconductor.providers.utils.get_all_available_templates())


@click.command('pros',
               cls=click.CommandCollection,
               context_settings=dict(help_option_names=['-h', '--help']),
               sources=[proscli.terminal_cli, proscli.build_cli, proscli.flasher_cli, proscli.conductor_cli])
@click.version_option(version='2.1.923', prog_name='pros')
@default_options
def cli():
    pass


if __name__ == '__main__':
    main()

import click

import proscli
from proscli.utils import default_options


def main():
    # the program name should always be pros. don't care if it's not...
    try:
        cli.main(prog_name='pros')
    except KeyboardInterrupt:
        click.echo('Aborted!')
        pass


@click.command('pros',
               cls=click.CommandCollection,
               context_settings=dict(help_option_names=['-h', '--help']),
               sources=[proscli.terminal_cli, proscli.build_cli, proscli.flasher_cli, proscli.conductor_cli])
@click.version_option(version='2.1.925', prog_name='pros')
@default_options
def cli():
    pass


if __name__ == '__main__':
    main()

Remove deprecated and broken pros help option