Merge pull request #116 into master

7441817 container: completion.bash: set xtrace if debug enabled (Aaron Fiore)
e9e2ed6 container: finance.bash: set xtrace if debug enabled (Aaron Fiore)
5684d94 client: completion.bash: set xtrace if debug enabled (Aaron Fiore)
4302ac2 client: docker.bash: set xtrace if debug enabled (Aaron Fiore)
This commit is contained in:
2024-08-14 19:42:51 -07:00
4 changed files with 11 additions and 0 deletions

View File

@@ -17,6 +17,14 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
# WARNING: because of completion, the docker-finance environment file
# is never read. Ergo, for debugging, you'll need to run the following:
#
# `export DOCKER_FINANCE_DEBUG=true && . ~/.bashrc`
#
# and then proceed to call `docker-finance` / `dfi` with your commands.
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
# If not yet installed, gracefully exit
if ! hash docker &>/dev/null; then
exit 0

View File

@@ -156,6 +156,7 @@ function main()
#
lib_docker::docker "$@" || lib_utils::die_usage "$_usage"
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
#
# Command facade

View File

@@ -17,6 +17,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
[ -z "$DOCKER_FINANCE_CONTAINER_FLOW" ] && exit 1
function docker-finance::completion()

View File

@@ -92,6 +92,7 @@ function main()
#
lib_finance::finance "$@" || lib_utils::die_usage "$_usage"
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
#
# Facade commands