Class ConsoleHandler
- Namespace
- Zorro.Core.CLI
- Assembly
- Zorro.Core.Runtime.dll
public static class ConsoleHandler
- Inheritance
-
ConsoleHandler
- Inherited Members
-
Fields
ERROR_COLOR
public const string ERROR_COLOR = "<color=#fc5347>"
Field Value
- string
ERROR_COLOR_HEX
public const string ERROR_COLOR_HEX = "#fc5347"
Field Value
- string
HIGHLIGHTED_COLOR
public const string HIGHLIGHTED_COLOR = "<color=#ffffff>"
Field Value
- string
HIGHLIGHTED_COLOR_HEX
public const string HIGHLIGHTED_COLOR_HEX = "#ffffff"
Field Value
- string
TEXT_COLOR
public const string TEXT_COLOR = "<color=#cccaca>"
Field Value
- string
TEXT_COLOR_HEX
public const string TEXT_COLOR_HEX = "#cccaca"
Field Value
- string
Methods
AddToHistory(string)
public static void AddToHistory(string command)
Parameters
command
string
FindSuggestions(string)
public static List<Suggestion> FindSuggestions(string input)
Parameters
input
string
Returns
- List<Suggestion>
GetHistory()
public static List<string> GetHistory()
Returns
- List<string>
Initialize()
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)]
public static void Initialize()
ProcessCommand(string)
public static bool ProcessCommand(string command)
Parameters
command
string
Returns
- bool