Skip to content

refactor: prettify ui#140

Merged
nikoksr merged 5 commits intomasterfrom
prettify-ui
Jul 9, 2020
Merged

refactor: prettify ui#140
nikoksr merged 5 commits intomasterfrom
prettify-ui

Conversation

@nikoksr
Copy link
Copy Markdown
Collaborator

@nikoksr nikoksr commented Jul 8, 2020

Summary

Prettify messages. Add a messages package which offers functions for info, success, warning and error messages.

Proposed Changes

  • Add messages package
  • Add functions to messages that format and colorize messages
  • Implement messages functions into cmd package
  • Wrap error messages to make them more expressive

Resolved Issues

Closes #135

nikoksr added 5 commits July 8, 2020 21:52
Messages provides a couple of wrapper functions for info, success,
warning and error messages. Info, success and warning are printed to
stdout and error is printed to stderr.
All wrappers use a custom prefix and colors to prettify the messages.
@nikoksr nikoksr merged commit a2251cb into master Jul 9, 2020
@nikoksr nikoksr deleted the prettify-ui branch July 9, 2020 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prettify the UI

1 participant