-a
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 22s
Build-Test-Publish / build (linux/arm64) (push) Successful in 25s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Successful in 7s
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Successful in 8s
All checks were successful
Build-Test-Publish / build (linux/amd64) (push) Successful in 22s
Build-Test-Publish / build (linux/arm64) (push) Successful in 25s
Build-Test-Publish / test-install-from-scratch (linux/amd64) (push) Successful in 7s
Build-Test-Publish / test-install-from-scratch (linux/arm64) (push) Successful in 8s
This commit is contained in:
parent
9f4c2c7224
commit
6a268cc6de
25
gp/gp
25
gp/gp
@ -192,6 +192,14 @@ do_commit_and_push() {
|
|||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Autocomplete function for bash
|
||||||
|
autocomplete() {
|
||||||
|
local args=("$@")
|
||||||
|
if [ ${#args[@]} -eq 0 ]; then
|
||||||
|
printf "%s\n" "--help" "--dry-run" "--force" "--add-all" "--branch" "-h" "-n" "-f" "-a" "-b"
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
# Default values
|
# Default values
|
||||||
DRY_RUN=false
|
DRY_RUN=false
|
||||||
FORCE=false
|
FORCE=false
|
||||||
@ -301,22 +309,5 @@ main() {
|
|||||||
do_commit_and_push "$commit_message" "$TARGET_BRANCH"
|
do_commit_and_push "$commit_message" "$TARGET_BRANCH"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Autocomplete function for bash
|
|
||||||
autocomplete() {
|
|
||||||
local args=("$@")
|
|
||||||
if [ ${#args[@]} -eq 0 ]; then
|
|
||||||
echo "--help"
|
|
||||||
echo "--dry-run"
|
|
||||||
echo "--force"
|
|
||||||
echo "--add-all"
|
|
||||||
echo "--branch"
|
|
||||||
echo "-h"
|
|
||||||
echo "-n"
|
|
||||||
echo "-f"
|
|
||||||
echo "-a"
|
|
||||||
echo "-b"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
# Run main function
|
# Run main function
|
||||||
main "$@"
|
main "$@"
|
Loading…
x
Reference in New Issue
Block a user