feat add dir_flag
refactor(update) more clear dir checking
tests fix all tests
refactor(error.go) error messages
docs(delete_command.go) document about recursive implies dir
test fix tests
tests add tests for dir flag
refactor remove unused const
doc fix grammar issue
Merge pull request #376 from xiangli-cmu/dir_flag

feat add dir_flag