Let cli accept the same options as pure js version does