Skip to content

enum Athena::Console::Command::Status #

Represents the execution status of an ACON::Command.

The value of each member is used as the exit code of the invocation.

Tip

The exit code may be customized by manually instantiating the enum with it. E.g. Status.new 126.

Members#

SUCCESS = 0#

Represents a successful invocation with no errors.

FAILURE = 1#

Represents that some error happened during invocation.

INVALID = 2#

Represents the command was not used correctly, such as invalid options or missing arguments.

Methods#

#failure?#

#invalid?#

#success?#