Skip to main content

promote

Function promote 

Source
pub fn promote(project_root: &str, slug: &str) -> Result<String, String>
Expand description

Copy a project-scoped generated rule into the global ~/.cursor/rules so it applies to every project. Returns the destination path on success.