Skip to content
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

mopro help command to show instructions #286

Open
vivianjeng opened this issue Jan 3, 2025 · 0 comments
Open

mopro help command to show instructions #286

vivianjeng opened this issue Jan 3, 2025 · 0 comments

Comments

@vivianjeng
Copy link
Collaborator

Problem

now there are some messages shown after commends
e.g. mopro init

🚀 Project 'mopro-example-app' initialized successfully! 🎉

To get started, follow these steps:

1. Navigate to your project directory:
   cd mopro-example-app

2. Run the following commands to build and run the project:
   mopro build

📚 To learn more about mopro, visit: https://zkmopro.org

Happy coding! 🚀

but when users clear the terminal or close the terminal, the instructions are gone
and users have to init again or the instructions will not appear again

Details

We can provide a mopro help command (or mopro info, mopro instruct?)
to let users find the instructions again
e.g.

$ mopro help
✔ Comment name (show the instructions)
[ ] mopro init
[ ] mopro build
[ ] mopro create
...

and show the messages again

pub(crate) fn print_init_instructions(project_name: String) {

pub(crate) fn print_build_success_message() {

pub(crate) fn print_create_ios_success_message() {

... and so on

Acceptance criteria

Provide a command to print the helping messages

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant