Use global ignore and avoid this hack
This commit is contained in:
parent
e9fb9e56ad
commit
624815e5b1
14
abra
14
abra
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
|
||||||
GIT_URL="https://git.autonomic.zone/coop-cloud/"
|
GIT_URL="https://git.autonomic.zone/coop-cloud/"
|
||||||
ABRA_APPS_URL="https://apps.coopcloud.tech"
|
ABRA_APPS_URL="https://apps.coopcloud.tech"
|
||||||
ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"
|
ABRA_DIR="${ABRA_DIR:-$HOME/.abra}"
|
||||||
@ -2562,18 +2564,6 @@ sub_network() {
|
|||||||
abra() {
|
abra() {
|
||||||
require_bash_4
|
require_bash_4
|
||||||
|
|
||||||
# TODO (3wc): we either need to do this, or add 'shellcheck disable' all over
|
|
||||||
# the place to handle the dynamically-defined vars
|
|
||||||
declare abra___stack abra___env abra__command_ abra__args_ \
|
|
||||||
abra__secret_ abra__version_ abra__data_ abra___user abra__host_ \
|
|
||||||
abra__type_ abra__port_ abra__user_ abra__service_ abra__src_ abra__dst_ \
|
|
||||||
abra___server abra___domain abra___pass abra___secrets abra___status \
|
|
||||||
abra___no_tty abra___app_name abra__subcommands_ abra___skip_update \
|
|
||||||
abra___skip_check abra__backup_file_ abra___verbose abra___debug \
|
|
||||||
abra___help abra___branch abra___volumes abra__provider_ abra___type \
|
|
||||||
abra___dev abra___update abra___no_prompt abra___force \
|
|
||||||
abra__recipe_ abra___fast abra__volume_ abra___bump abra___chaos
|
|
||||||
|
|
||||||
if ! type tput > /dev/null 2>&1; then
|
if ! type tput > /dev/null 2>&1; then
|
||||||
tput() {
|
tput() {
|
||||||
echo -n
|
echo -n
|
||||||
|
Reference in New Issue
Block a user