Documentation
¶
Overview ¶
Package rules provides functionality for managing Cursor rule files.
The package supports: - Adding rule files to the user's ~/.kool/rules/files directory - Listing available rule files - Using rule files by copying them to the current project's .cursor/rules directory
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
Add copies a rule file to the ~/.kool/rules/files directory If a file with the same name already exists, a timestamp will be appended to make it unique
func GetCursorRulesDir ¶
GetCursorRulesDir returns the path to the .cursor/rules directory in the current working directory
func GetRulesDir ¶
GetRulesDir returns the path to the .kool/rules directory in the user's home directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.