In this article we will look at flags for altering the presentation of the output, and default behavior.

The presentation flags are a number of flags and values that changes the way Spark CLI outputs data. They are used for user convenience and for fine-tuning the tool - for example for execution manually vs in automated scripts.

flag: auto
Removes the colors, for use in scripting. In PHP CLI, the console colors are special command characters that we output to change the color. This flags stops this behavior, so that no color command characters are outputted.
syntax (all are valid): auto, a, -a, -auto, --auto

flag: hide-banner
Removes the ASCII art banner, for use in scripting.
syntax (all are valid): hide-banner, hb, -hidebanner, -hb, --hide-banner

flag: theme=
Sets the color theme of the CLI text output.
syntax: theme=<THEME>
THEME: GREEN, DBLUE, LBLUE, PASTEL, EARTH, CONTRAST, DEFAULT, VIOLET, CYAN

Back