Skip to content

Commit 3bc561a

Browse files
committed
feat: Support root command
1 parent f13fb32 commit 3bc561a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ Commands to help you lint your packages:
254254
| `easky-lint-license` | Run license linter |
255255
| `easky-lint-org` | Run org-lint on Org files |
256256

257-
> 💡 These extenral tools are automatically installed in your sandbox!
257+
> 💡 These external tools are automatically installed in your sandbox!
258258
259259
### 🔗 Linking
260260

easky.el

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -654,6 +654,12 @@ Arguments FORM-1, FORM-2 and FORM-3 are execution by each file action."
654654
(interactive)
655655
(easky--output-buffer (easky-command "locate")))
656656

657+
;;;###autoload
658+
(defun easky-root ()
659+
"Print the package directory."
660+
(interactive)
661+
(easky--output-buffer (easky-command "root")))
662+
657663
;;;###autoload
658664
(defun easky-compile ()
659665
"Byte-compile elc files."

0 commit comments

Comments
 (0)