-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat: interactive command-line for running node #136
base: master
Are you sure you want to change the base?
Conversation
Looks amazing! Maybe we should update the README to indicate how to use the CLI? Will also help to try it out myself |
Thanks ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't wait to see! I will try it out as part of my review!
But awesome initiative, huge thanks!
interactive-cli.sh
Outdated
echo -e "\n${GREEN}${BOLD}✨ Your Waku node is ready!${NC}" | ||
echo -e "📊 View metrics: http://localhost:3000" | ||
echo -e "💬 Chat interface: http://localhost:4000" | ||
echo -e "🔍 Check node health: ./waku-cli.sh status" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
echo -e "🔍 Check node health: ./waku-cli.sh status" | |
echo -e "🔍 Check node health: ./interactive-cli.sh status" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My pleasure! Please mention any other bugs or improvements—I’m happy to work on them!
I like it a lot. Thanks so much indeed 🙌 ! |
my understanding for re-registration of RLN is only required if there are changes made to the .env file. Otherwise, the existing keystore should work as expected. So, if the user doesn’t modify the .env configuration, the older keystore remains valid. If someone edits the .env file for the first time or updates existing credentials, keystore generation will definitely be required as part of the process. However, I’ve internally hidden the registration process to simplify things. but yeah, explicitly showing the need to generate a new keystore would make the process more transparent and informative for users. |
Overview
This PR introduces interactive command-line interface designed to simplify waku node operations. The script provides a user-friendly menu-driven approach, eliminating the need for operators to memorize commands or frequently refer to documentation.
I'm trying to make running a node a bit more convenient for new operators comming to waku.
Key Features
Inspiration
Note
The current process works as it is; this is simply an interface built on top of the manual process.