Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to get help about script usage. #46

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

destogl
Copy link
Member

@destogl destogl commented May 1, 2022

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/

@mamueluth
Copy link
Member

mamueluth commented May 2, 2022

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.

@destogl
Copy link
Member Author

destogl commented May 3, 2022

And yes, probably to add additionally a function process_inputs for this general things.

@mergify
Copy link

mergify bot commented Jul 15, 2022

This pull request is in conflict. Could you fix it @destogl?

@mergify
Copy link

mergify bot commented Aug 31, 2022

This pull request is in conflict. Could you fix it @destogl?

@mamueluth mamueluth self-assigned this Sep 20, 2022
@mergify
Copy link

mergify bot commented Sep 27, 2022

This pull request is in conflict. Could you fix it @destogl?

6 similar comments
@mergify
Copy link

mergify bot commented May 12, 2023

This pull request is in conflict. Could you fix it @destogl?

@mergify
Copy link

mergify bot commented Aug 11, 2023

This pull request is in conflict. Could you fix it @destogl?

@mergify
Copy link

mergify bot commented Oct 9, 2023

This pull request is in conflict. Could you fix it @destogl?

Copy link

mergify bot commented Nov 7, 2023

This pull request is in conflict. Could you fix it @destogl?

Copy link

mergify bot commented Dec 12, 2023

This pull request is in conflict. Could you fix it @destogl?

Copy link

mergify bot commented Feb 1, 2024

This pull request is in conflict. Could you fix it @destogl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants