Merge pull request #117 into master
d7caec1client/container: disable shellcheck warning for DOCKER_FINANCE_DEBUG (Aaron Fiore)563ca66container: finance.bash: fix typo for ledger-ui (Aaron Fiore)
This commit was merged in pull request #117.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -156,6 +156,8 @@ function main()
|
||||
#
|
||||
|
||||
lib_docker::docker "$@" || lib_utils::die_usage "$_usage"
|
||||
|
||||
# shellcheck disable=SC2154
|
||||
[ "$DOCKER_FINANCE_DEBUG" == true ] && set -xv
|
||||
|
||||
#
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user