refactor: use index.ts entry point for folder-symlink install
This commit is contained in:
1 parent
711abdac78
commit
08c5f3ad58
2 files changed
+2
-2
No files matched your search
@@ -29,10 +29,10 @@ Any other argument is rejected with a usage notification. Argument autocomplete
|
|||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
Symlink the extension into Pi's user extension directory and reload:
|
Symlink the folder into Pi's user extension directory (Pi loads a subdirectory extension through its `index.ts` entry point) and reload:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
ln -s ~/Projects/scripting/pi-extensions/finish-audit-goal/finish-audit-goal.ts ~/.pi/agent/extensions/finish-audit-goal.ts
|
ln -s ~/Projects/scripting/pi-extensions/finish-audit-goal ~/.pi/agent/extensions/finish-audit-goal
|
||||||
```
|
```
|
||||||
|
|
||||||
Then `/reload` in an active session.
|
Then `/reload` in an active session.
|
||||||
|
|||||||
File renamed without changes.
Reference in new issue
Block a user