Add --paths option in client and handle in building resource list