@cli.command()<EOL>@pass_ctx<EOL>def status(ctx):
status = ctx.status()<EOL>click.echo(click.style('<STR_LIT>', bold=True))<EOL>if status['<STR_LIT>']:<EOL><INDENT>line = '<STR_LIT>'.format(<EOL>status['<STR_LIT>']['<STR_LIT>'],<EOL>status['<STR_LIT>']['<STR_LIT>'])<EOL>click.echo(click.style(line, fg='<STR_LIT>'))<EOL><DEDENT>click.echo(click.style('<STR_LIT>', bold=True))<EOL>if status['<STR_LIT>']:<EOL><INDENT>line = '<STR_LIT>'.format(<EOL>status['<STR_LIT>']['<STR_LIT>'],<EOL>status['<STR_LIT>']['<STR_LIT>'])<EOL>click.echo(click.style(line, fg='<STR_LIT>'))<EOL><DEDENT>click.echo(click.style('<STR_LIT>', bold=True))<EOL>if status['<STR_LIT>']:<EOL><INDENT>line = '<STR_LIT>'.format(<EOL>status['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'],<EOL>status['<STR_LIT>']['<STR_LIT>']['<STR_LIT>'])<EOL>click.echo(click.style(line, fg='<STR_LIT>'))<EOL><DEDENT>else:<EOL><INDENT>click.echo(click.style('<STR_LIT>', fg='<STR_LIT>'))<EOL><DEDENT>click.echo(click.style('<STR_LIT>', bold=True))<EOL>if status['<STR_LIT>']:<EOL><INDENT>for event_source in status['<STR_LIT>']:<EOL><INDENT>if event_source:<EOL><INDENT>arn = event_source.get('<STR_LIT>')<EOL>state = event_source.get('<STR_LIT>', '<STR_LIT>')<EOL>line = '<STR_LIT>'.format(arn, state)<EOL>click.echo(click.style(line, fg='<STR_LIT>'))<EOL><DEDENT>else:<EOL><INDENT>click.echo(click.style('<STR_LIT>', fg='<STR_LIT>'))<EOL><DEDENT><DEDENT><DEDENT>
Print a status of this Lambda function