hooks.parse_features_json
- hooks.parse_features_json(file: Path | str) List[Path]
Parse a JSON file containing filepaths.
- Parameters:
file – A filepath to a JSON file containing a
features
field, which contains a list of dictionaries, where each dictionary must have at least anremove
and a resources field.- Returns:
A list of file paths from the
resources
field, if theremove
field is True.