@cli.command()<EOL>@click.argument('<STR_LIT>',<EOL>type=click.Choice(['<STR_LIT:list>', '<STR_LIT>', '<STR_LIT>']))<EOL>@pass_ctx<EOL>def event_sources(ctx, command):
if command == '<STR_LIT:list>':<EOL><INDENT>click.echo('<STR_LIT>')<EOL>event_sources = ctx.list_event_sources()<EOL>for es in event_sources:<EOL><INDENT>click.echo('<STR_LIT>'.format(es['<STR_LIT>']))<EOL>click.echo('<STR_LIT>'.format(es['<STR_LIT>']))<EOL>click.echo('<STR_LIT>'.format(es['<STR_LIT>']))<EOL>click.echo('<STR_LIT>'.format(es['<STR_LIT>']))<EOL><DEDENT>click.echo('<STR_LIT>')<EOL><DEDENT>elif command == '<STR_LIT>':<EOL><INDENT>click.echo('<STR_LIT>')<EOL>ctx.enable_event_sources()<EOL>click.echo('<STR_LIT>')<EOL><DEDENT>elif command == '<STR_LIT>':<EOL><INDENT>click.echo('<STR_LIT>')<EOL>ctx.disable_event_sources()<EOL>click.echo('<STR_LIT>')<EOL><DEDENT>
List, enable, and disable event sources specified in the config file