cmd line io:  new API