(ctx: click.Context, exit_code: int, **kwargs: Any)
exit_code guarantees that the return value of a scan is 0
    when exit_zero is enabled
exit_code guarantees that the return value of a scan is 0
    when exit_zero is enabled
exit_code guarantees that the return value of a scan is 0 when exit_zero is enabled
def exit_code(ctx: click.Context, exit_code: int, **kwargs: Any) -> None:
    """
    exit_code guarantees that the return value of a scan is 0
    when exit_zero is enabled
    """

    if ctx.obj["config"].exit_zero:
        sys.exit(0)

    sys.exit(exit_code)
def exit_code ( ctx : click . Context , exit_code : int , * * kwargs : Any ) -> None : if ctx . obj [ "config" ] . exit_zero : sys . exit ( 0 ) sys . exit ( exit_code )