Skip to content

Latest commit

 

History

History
41 lines (23 loc) · 639 Bytes

User-Feedback.md

File metadata and controls

41 lines (23 loc) · 639 Bytes

User-Feedback

Provides useful colored outputs for user feedback on actions

Overview

Display error message in stderr, prefixed by check emoji

Index

show_error

Display error message in stderr, prefixed by check emoji

Example

show_error "Oh snap, that went horribly wrong"

Arguments

  • $1 (string): Error message to display

show_success

Display success message in stderr, prefixed by cross emoji

Example

show_success "There it is! World peace."

Arguments

  • $1 (string): Success message to display