class Synacor::RunCommand

Defined in:

synacor/run_command.cr

Instance Method Summary

Instance Method Detail

def configure : Nil #
Description copied from class Athena::Console::Command

Can be overridden to configure the current command, such as setting the name, adding arguments/options, setting help information etc.


[View source]
def execute(input : ACON::Input::Interface, output : ACON::Output::Interface) : ACON::Command::Status #
Description copied from class Athena::Console::Command

Executes the command with the provided input and output, returning the status of the invocation via ACON::Command::Status.

This method MUST be defined and implement the business logic for the command.


[View source]
def setup(input : ACON::Input::Interface, output : ACON::Output::Interface) : Nil #
Description copied from class Athena::Console::Command

Called after the input has been bound, but before it has been validated. Can be used to setup state of the command based on the provided input data.


[View source]
def vm : VM #

[View source]
def vm=(vm : VM) #

[View source]
def vm? : VM | Nil #

[View source]