void format_output(char *fmt,...)
Used format_xxx instead of printf and such for uniform output.
void io_set_text_white()
Set default text color to white.
void format_usage(char *fmt,...)
Used format_xxx instead of printf and such for uniform output.
void format_success(char *fmt,...)
Used format_xxx instead of printf and such for uniform output.
void scan_input(struct cmd *obj)
Ask and convert user's input into command.
void format_error(char *fmt,...)
Used format_xxx instead of printf and such for uniform output.
void io_set_last_status(enum run_result result)
Set the result of last command (RUN_OK/RUN_FAIL/...)
void io_set_prompt_visibility(bool visible)
Config if prompt should be printed.
run_result
Result of the execution of a command line.
Resulting struct after parsing the input.