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

Interactive Error Handling #25

Open
cbzehner opened this issue Jun 27, 2020 · 0 comments
Open

Interactive Error Handling #25

cbzehner opened this issue Jun 27, 2020 · 0 comments

Comments

@cbzehner
Copy link

cbzehner commented Jun 27, 2020

Hi, I just found mn and it looks quite useful, thanks for creating this and sharing it!

One papercut I ran across in using it was creating my initial data. I'm unable to edit something before I add it, and although the message sounds like it will be interactive, it actually just exits with an error code.

❯ mn edit notes
notes not found.  Would you like to add it to Mnemonic?
❯ ...

Would you be interested in a Pull Request to make this experience interactive?

  1. Prompt the user [y/n]
  2. The "no" case would exit without an error code
  3. The "yes" case would potentially
    a. Run the add command
    b. Run the edit command
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

No branches or pull requests

1 participant