Skip to content

Detailed and colorful output#15

Open
JoyHak wants to merge 5 commits into
Descolada:mainfrom
JoyHak:print-help
Open

Detailed and colorful output#15
JoyHak wants to merge 5 commits into
Descolada:mainfrom
JoyHak:print-help

Conversation

@JoyHak

@JoyHak JoyHak commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

Colorful output

After messing around with colors for Launcher project I found a way to make fast color-formatting for console output. String.Prototype.Color() in Aris/Lib/Print.ahk now applies ANSI codes to the target message and Print() outputs formatted message to the CONOUT$ (*). I also added wrappers for warnings and errors in Aris/Lib/Print.ahk.
aris0

Help message

For some reason Aris misses very important --help, -h switch. Now it can display help message:

example description
aris -h detailed help message
aris install -h specific command help
aris --force -h specific switch help
aris -h commands specific help topic
aris -h commands,switches,... specific help topics
help-message help2

I don't understand how --alias works, so it's missing here, please add it. Also I don't understand other switches: --global, --local, --main. Please revise help message.

JoyHak added 5 commits June 25, 2026 16:07
## --help (-h)
        aris -h             detailed help message
        aris _install_ -h     specific command help
        aris _--force_ -h     specific switch help
        aris -h _commands_    specific help topic
        aris -h _commands_,_switches_,...     specific help topics
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant