class Cli::Exit

Overview

Contains information about exit.

Defined in:

lib/exit.cr

Instance Method Summary

Instance Method Detail

def error? #

Tests if the exit code is non-zero.


[View source]
def exit_code : Int32 #

Returns an exit code.


[View source]
def success? #

Tests if the exit code is zero.


[View source]