[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
|
||||
init)
|
||||
shift
|
||||
cmd_init "${GIT_DIR}" ${@}
|
||||
EXIT=$?
|
||||
[[ ${EXIT} -eq 1 ]] && echo "Database file already present"
|
||||
[[ ${EXIT} -eq 2 ]] && echo "Init had errors"
|
||||
;;
|
||||
|
||||
exclude)
|
||||
shift
|
||||
cmd_exclude "${GIT_DIR}" ${@}
|
||||
|
|
Loading…
Reference in a new issue