replace nopt with yargs

#262916
Merge pull request #287 from Icenium/dragnev/replace-nopt

replace nopt with yargs