File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { Action } from '@stacksjs/actions'
2
2
3
3
export default new Action ( {
4
- name : 'Buddy Info' ,
5
- description : 'This command displays the buddy info .' ,
6
- path : 'buddy' , // turns into `APP_URL/api/buddy`
4
+ name : 'Buddy Command Info' ,
5
+ description : 'This command displays the available buddy command information .' ,
6
+ path : 'buddy/commands ' , // turns into `APP_URL/api/buddy/commands `
7
7
8
8
handle ( ) {
9
9
return {
Original file line number Diff line number Diff line change
1
+ import { Action } from '@stacksjs/actions'
2
+
3
+ export default new Action ( {
4
+ name : 'Buddy Versions' ,
5
+ description : 'This command displays the buddy version.' ,
6
+ path : 'buddy/versions' , // turns into `APP_URL/api/buddy/versions`
7
+
8
+ handle ( ) {
9
+ return {
10
+ versions : [
11
+ '1.0' ,
12
+ ] ,
13
+ }
14
+ } ,
15
+ } )
You can’t perform that action at this time.
0 commit comments