Open destogl opened 2 years ago
Maybe we could beside the print_and_exit function add functions like: print_warning print_info .... Which print the given message in a defined way (e.g color coded). This way we would have a consistent coloring for given message types and could change adjust formatting of messages as needed.
And yes, probably to add additionally a function process_inputs
for this general things.
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This pull request is in conflict. Could you fix it @destogl?
This is the start of a work on adding help to the scripts to fast display their usage to users.
@mamueluth can you please check this? What do you think? (Please also answer to the
TODO
comments in the code.)This is an interesting source about exiting early: https://echorand.me/posts/bash-functions-exit/