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

Update README and improve error messages in register.go #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

qvkare
Copy link

@qvkare qvkare commented Feb 23, 2024

# Motivation
There are many projects that use/will use CLI and there were some points that caught my attention while installing Mangata.

  • Error Handling: Our error messages around configuration files could really use some work. Let's make them more specific about what's going wrong (file not found, bad format, etc.), give them the file path, and maybe even suggest some troubleshooting steps

  • Upgrade Instructions: It'd be awesome to have a clear guide on updating the CLI right from the source

# Solution

  • Error Handling: Tweaked the functions that deal with config files to give way better error messages

  • Upgrade Instructions: Added some simple upgrade steps either in the README separate

# Open Questions

  • Could we make those error messages even better? Any ideas on what else to include?
  • Should the upgrade instructions be more specific depending on the operating system?

@qvkare
Copy link
Author

qvkare commented Feb 29, 2024

@shrimalmadhur Hi, I changed a few things here, can you take a look?

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

Successfully merging this pull request may close these issues.

1 participant