-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature/commands #2
base: master
Are you sure you want to change the base?
Conversation
This pull request introduces a set of functions that allow to execute subcommands while:
This should mainly avoid chasing subcommands and manually add checks for std_DEBUG and std_PRETEND cases, all the while prettifying the output. I have enclosed execution tags in square brackets to better visually distinguish control from subcommand outputs. |
@@ -0,0 +1,65 @@ | |||
#!/bin/bash | |||
|
|||
# Copyright 2013-2016 Stuart Shelton |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should really have your copyright, not mine!
|
||
# This function may be overridden | ||
# | ||
# Wrapper to evalRes(), for backward compatibility |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With what?! ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With something I did not port here from my own version of stdlib.sh :P
It's called: transcendental or astral compatibility because the function transcendentally refers to another function that lives in a non-sourced file :P
I've made some notes inline in the changes - could you also confirm that the updated script passes ShellCheck's tests? Also, please |
No description provided.