Skip to content

Commit

Permalink
add print info
Browse files Browse the repository at this point in the history
  • Loading branch information
tmbo committed May 18, 2019
1 parent efcbe12 commit 0cdaff6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions rasa/cli/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,6 @@ def minimal_kwargs(
if k in possible_arguments and k not in excluded_keys
}


def print_success(*args: Any):
print_color(*args, color=bcolors.OKGREEN)


class bcolors(object):
HEADER = "\033[95m"
OKBLUE = "\033[94m"
Expand All @@ -174,6 +169,14 @@ def print_color(*args: Any, color: Text):
print (wrap_with_color(*args, color=color))


def print_success(*args: Any):
print_color(*args, color=bcolors.OKGREEN)


def print_info(*args: Any):
print_color(*args, color=bcolors.OKBLUE)


def print_warning(*args: Any):
print_color(*args, color=bcolors.WARNING)

Expand Down

0 comments on commit 0cdaff6

Please sign in to comment.