Open hkmatsumoto opened 4 years ago
We are calling click's echo function directly each time we call it.
Instead of calling it directly, It sounds good to define wrapper functions like
def print_error(message, bold=True): echo( style( message, bold=bold, fg="red" ) ) def print_success(message, bold=True): echo( style( message, bold=bold, fg="green" ) )
and call them to make the codes more descriptive.
Can I take this and solve along with #243?
@ShubhamPandey28 Sure :+1:
Current Implementation:
We are calling click's echo function directly each time we call it.
The implementation I propose:
Instead of calling it directly, It sounds good to define wrapper functions like
and call them to make the codes more descriptive.