Initial commit
This commit is contained in:
commit
b6089a75ed
8 changed files with 118 additions and 0 deletions
12
plugins/hello-world/index.jsx
Normal file
12
plugins/hello-world/index.jsx
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
const {
|
||||
util: { log }
|
||||
} = shelter;
|
||||
|
||||
export function onLoad() {
|
||||
// you can safely run onLoad actions at the top level!
|
||||
log("Hello, World from shelter!")
|
||||
}
|
||||
|
||||
export function onUnload() {
|
||||
log("Goodbye, World from shelter!")
|
||||
}
|
||||
5
plugins/hello-world/plugin.json
Normal file
5
plugins/hello-world/plugin.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"name": "hello-world",
|
||||
"author": "Your name here",
|
||||
"description": "An example shelter plugin"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue