feat: add help flag to display usage information and available tools - #40
Conversation
|
@abusnitsky is attempting to deploy a commit to the houssemeddinechaouch's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Hi @abusnitsky, Please verify that Also, I think there are a few useful enhancements we could add, such as:
Thanks! |
|
@HoussemEddineChaouch sorry, |
Fix the PR template in the How to test it section. Also, before merging it, please improve the user experience by making the *help * return more noticeable. Add morestyling, such as ASCII colored output, background colors, following the style already used in the current CLI. |
|
@HoussemEddineChaouch I improved the structure and formatting, and added a bit of color. |
|
Hey @abusnitsky, clean and well-structured implementation! One small request before merging, could you extract This keeps index.js thin and makes help easy to extend |
Done. I think we should also introduce a settings file where we can store constants like colors. |
Great, thanks! On the settings/constants file , good idea but let's |
009789d
into
HoussemEddineChaouch:main
What does this PR do?
Adds support for
--helpand-hin the CLI startup flow.When either flag is provided, the app now prints:
Then it exits cleanly without starting the interactive chat loop.
Type of change
How to test it
node src/index.js --help.node src/index.js -hand verify the same behavior.Related issues
Closes #15