printr
printr
is the smarter echo
alternative. It is meant as a drop-in replacement of echo
and has additional features like automatically guessing the sentiment of the string passed
to it and then outputting it in the corresponding color.
For example:
-
A positive statement will be colored green.
-
A negative statement will be colored red.
-
A neutral statement will be colored blue.
For a full list of options and flags available, run printr --help
.
Behind the scenes, printr
performs some light sentiment analysis to guess whether a
statement is positive, negative or neutral.
Screenshot of printr in action
Summary
Installing
printr
comes packaged with a convenience install script that can run on all bash systems.
Run the following command in your terminal (git-bash for windows users).
# Warning: always examine scripts downloaded from the internet before running them locally.
The above command can also be used to update your current installation of printr
.
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
See also the list of contributors who participated in this project.
License
This project is licensed under the Apache-2.0 - see the LICENSE.md file for details
Others
Project bootstrapped using cookiecutter by IgnisDa.