pub fn init(path: &Path, project: Option<&Path>) -> Result<ResourceId>
Initialize a file as a Script for a Project.
If project is None, assumes the file is contained within the project.
project
None