enum Athena::Console::Output::Type
Overview
Determines how a message should be printed.
When you output a message via ACON::Output::Interface#puts
or ACON::Output::Interface#print
, they also provide a way to set the output type it should be printed:
protected def execute(input : ACON::Input::Interface, output : ACON::Output::Interface) : ACON::Command::Status
output.puts "Some Message", output_type: :raw
ACON::Command::Status::SUCCESS
end
Defined in:
output/type.crEnum Members
-
NORMAL =
0
-
Normal output, with any styles applied to format the text.
-
RAW =
1
-
Output style tags as is without formatting the string.
-
PLAIN =
2
-
Strip any style tags and only output the actual text.