Closed averageandyyy closed 4 weeks ago
add -a andy
andy
add
add -b andy
getAuthorCommand
isValidAuthorCommand
add -a andy
to seeandy
being echoedadd
andadd -b andy
are invalid and will simply result in a greeting messagegetAuthorCommand
andisValidAuthorCommand
definitely have overlap, to improve implementation but i think the general idea seems sound