-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a help action #29
Conversation
Hey @xphere, glad that it helps! But we might have to simplify this PR to make it cross platform, as If you wish to edit this PR, I would suggest printing the instruction with logger like |
Ouch, you're right! Without the colors it is a lot harder to understand, but it's still helpful. It would be nice if there's a way to keep the colors for other systems that are capable of it, maybe we can detect these capabilities and strip bbcodes for those not supporting. In fact I thought godot was doing thiat under the hood. I'll investigate a bit and fix this. |
I've been playing with an old computer with Windows 10, but I can't find an easy way to detect ANSI support. I'm removing bbcodes and using |
I've tried this before adding colors and descriptions wrapped easily (especially with
That's a neat idea, will look into it too. 👌🏻 |
Oh no, I mean I already implemented those 2 features in the last 2 commits. If you are fine with the changes I made, we can then merge this PR |
Oh, nice, didn't saw your commits! Great, fine by me! Have you seen last news for Godot 4.3? https://twitter.com/HugoLocurcio/status/1757843848154206653 |
Nope, it doesn't works on Windows 10... |
Thank you! |
I'm trying this tool and it's amazing!
It's the piece I missed the most in the Godot ecosystem, so thank you!
The problem is that I find myself often going to the docs to remember how to use it.
I took the liberty to add a
help
action which shows a list with the syntax and exits.This also shows when no action or an unknown one is supplied.
Descriptions of actions and options are copied & pasted from the README.
I hope it's helpful!
A screenshot:
![image](https://private-user-images.githubusercontent.com/170968/303784720-5d4e6c5e-3770-4699-a175-9be44157b686.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjU5Mzk5MzMsIm5iZiI6MTcyNTkzOTYzMywicGF0aCI6Ii8xNzA5NjgvMzAzNzg0NzIwLTVkNGU2YzVlLTM3NzAtNDY5OS1hMTc1LTliZTQ0MTU3YjY4Ni5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEwJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMFQwMzQwMzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iZDFiNTg4Y2ZkMWMxMjhkOWI2OWE1MTA0MGE5YzYzNTM1MDYyZDcwYWI1MmRiZWQ4YTk0MDU0NDVjYmJmNjBmJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.C5qhfaAEaBfzIMEIMXoJjZAnq-TA0vTxpBrYZRm4ugU)