add minimist and deadline-sync

add minimist to parse args and readline-sync to read args