Class: HunkReviewChanges::Installer::Cursor
- Inherits:
-
DirectoryInstaller
- Object
- Base
- DirectoryInstaller
- HunkReviewChanges::Installer::Cursor
- Defined in:
- lib/hunk_review_changes/installer/cursor.rb
Overview
Cursor reads user-level skills from ~/.cursor/skills.
Instance Method Summary collapse
Methods inherited from DirectoryInstaller
Methods inherited from Base
Instance Method Details
#detected? ⇒ Boolean
12 13 14 15 |
# File 'lib/hunk_review_changes/installer/cursor.rb', line 12 def detected? command_on_path?("cursor-agent") || command_on_path?("cursor") || File.directory?(home(".cursor")) end |
#key ⇒ Object
9 |
# File 'lib/hunk_review_changes/installer/cursor.rb', line 9 def key = :cursor |
#label ⇒ Object
10 |
# File 'lib/hunk_review_changes/installer/cursor.rb', line 10 def label = "Cursor" |
#skills_root ⇒ Object
17 18 19 |
# File 'lib/hunk_review_changes/installer/cursor.rb', line 17 def skills_root home(".cursor", "skills") end |