[parser] Added init command
This commit is contained in:
parent
03438ec426
commit
3d5ceacf0b
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,14 @@ done
|
||||||
|
|
||||||
|
|
||||||
case "${1}" in
|
case "${1}" in
|
||||||
|
init)
|
||||||
|
shift
|
||||||
|
cmd_init "${GIT_DIR}" ${@}
|
||||||
|
EXIT=$?
|
||||||
|
[[ ${EXIT} -eq 1 ]] && echo "Database file already present"
|
||||||
|
[[ ${EXIT} -eq 2 ]] && echo "Init had errors"
|
||||||
|
;;
|
||||||
|
|
||||||
exclude)
|
exclude)
|
||||||
shift
|
shift
|
||||||
cmd_exclude "${GIT_DIR}" ${@}
|
cmd_exclude "${GIT_DIR}" ${@}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue