Merge pull request #117 into master

d7caec1 client/container: disable shellcheck warning for DOCKER_FINANCE_DEBUG (Aaron Fiore)
563ca66 container: finance.bash: fix typo for ledger-ui (Aaron Fiore)
This commit is contained in:
2024-08-14 20:06:53 -07:00
4 changed files with 9 additions and 1 deletions

View File

@@ -23,6 +23,8 @@
# `export DOCKER_FINANCE_DEBUG=true && . ~/.bashrc`
#
# and then proceed to call `docker-finance` / `dfi` with your commands.
# shellcheck disable=SC2154
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
# If not yet installed, gracefully exit

View File

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

View File

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

View File

@@ -92,6 +92,8 @@ function main()
#
lib_finance::finance "$@" || lib_utils::die_usage "$_usage"
# shellcheck disable=SC2154
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
#
@@ -114,7 +116,7 @@ function main()
hledger | ledger)
lib_finance::ledger "${@:3}"
;;
hledger-ui | ledger)
hledger-ui | ledger-ui)
lib_finance::ledger-ui "${@:3}"
;;
hledger-vui | ledger-vui)