mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Add --force argument
This commit is contained in:
@@ -68,6 +68,7 @@ source "../plugins/git.sh"
|
|||||||
DOTFILE="" # --dotfile / -f
|
DOTFILE="" # --dotfile / -f
|
||||||
TARGET="" # --target / -t
|
TARGET="" # --target / -t
|
||||||
HELP="" # --help / -h
|
HELP="" # --help / -h
|
||||||
|
FORCE="" # --force / -F
|
||||||
VERSION="" # --version / -v
|
VERSION="" # --version / -v
|
||||||
|
|
||||||
if has-argument dotfile f "$@"; then
|
if has-argument dotfile f "$@"; then
|
||||||
@@ -82,6 +83,10 @@ if has-argument help h "$@"; then
|
|||||||
HELP="1"
|
HELP="1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if has-argument force F "$@"; then
|
||||||
|
FORCE="1"
|
||||||
|
fi
|
||||||
|
|
||||||
if has-argument version v "$@"; then
|
if has-argument version v "$@"; then
|
||||||
VERSION="1"
|
VERSION="1"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user