resolve
Use `basedir` to specify the initial search path for resolving the CLI service, since `cwd` is not a valid option property.