mirror of
https://github.com/domfelipe/pokebuddy.git
synced 2026-08-07 06:16:49 +00:00
Initial commit: pokebuddy_cli
This commit is contained in:
commit
d58df9bd10
47 changed files with 1684 additions and 0 deletions
11
examples/plugin-example.js
Normal file
11
examples/plugin-example.js
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
// Future plugin API example. This file is illustrative only.
|
||||
|
||||
export default {
|
||||
name: 'commit-cheerleader',
|
||||
version: '0.1.0',
|
||||
onEvent(event, context) {
|
||||
if (event.type === 'git:commit') {
|
||||
return context.say('Your companion approves this commit. Probably.');
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue