Athena::Console::Style::Interface
Represents a "style" that provides a way to abstract how to format console input/output data such that you can reduce the amount of code needed, and to standardize the appearance.
See ACON::Style::Athena.
Custom Styles
Custom styles can also be created by implementing this interface, and optionally extending from ACON::Style::Output
which makes the style an ACON::Output::Interface as well as defining part of this interface.
Then you could simply instantiate your custom style within a command as you would ACON::Style::Athena.
Instance methods
Formats and prints the provided messages within a caution block.
Helper method for asking ACON::Question::Choice questions.
Formats and prints the provided messages within a comment block.
Helper method for asking ACON::Question::Confirmation questions.
Formats and prints the provided messages within a error block.
Formats and prints the provided messages within a info block.
Formats and prints a bulleted list containing the provided elements.
Formats and prints the provided messages within a note block.
Advances the internal ACON::Helper::ProgressBar by the provided amount of steps.
Starts an internal ACON::Helper::ProgressBar, optionally with the provided max amount of steps.
Formats and prints the provided messages within a success block.
Formats and prints a table based on the provided headers and rows, followed by a new line.
Formats and prints the provided messages as text.
Formats and prints the provided messages within a warning block.