nopt wrapper with commander-like API