TTT v0.2.0 TTT.Console.Cli View Source

A command line module that is repsonsible for outputing messages as well as receiving inputs from users

Link to this section Summary

Link to this section Functions

Link to this function input(message, type \\ None) View Source

## Parameters

- message: String of message.
_ type (optional): String represents the type of the message

Display a string with effects correspond on the type of the message. If type is not given or does not match, message will be displayed without any effects.

Returns a string without any whilespaces around.

Link to this function output(message, type \\ None) View Source

## Parameters

- message: String of message.
- type (optional): String represents the type of the message

Display a string with effects correspond on the type of the message. If type is not given or does not match, message will be displayed without any effects.