Colors¶
The color to change to.
Properties¶
| Position | Minimum Arguments |
|---|---|
-2 |
1 |
Uses¶
Choices¶
Colors¶
- Black
- Blue
- Cyan
- Green
- Magenta
- Red
- White
- Yellow
Variant¶
Variants make subtle changes to the color chosen.
Position¶
Variants can only be used before or after the used color. If it is used elsewhere, it will be treated as a the string.
Single Variant syntactic advantages
Since there is currently only one variant, We are several advantages we can make use of to make the syntax less error-prone.
- If it is used once, you don't need to use
--to use it in the string again, and all flags and--be interpreted as part of the string --brightor--can be used anywhere if it isn't before or after the color- All the other flags are interpreted as strings, and not parsed internally
List¶
| Name | long | short | Internal Implementation |
|---|---|---|---|
| Bright | --bright |
-b |
Appends br to the color, and passes it to set_color |