Files
bash-tui-toolkit/docs/modules/User-Feedback.md
2023-02-15 18:12:31 +01:00

639 B

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