Skip to content

Commit d23b43a

Browse files
committed
Add recommend property to Command interface
1 parent 13ec1ec commit d23b43a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/handler/workflowCommandHandler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export interface Command {
1111
description: string;
1212
path: string;
1313
args: number;
14+
recommend: number;
1415
handler: (commandName: string, userInput: string) => Promise<string>;
1516
}
1617

@@ -26,6 +27,7 @@ async function getCommandListByDevChatRun(includeHide: boolean = false): Promise
2627
pattern: command.name,
2728
description: command.description,
2829
path: command.path,
30+
recommend: command.recommend,
2931
args: 0,
3032
handler: async (commandName: string, userInput: string) => { return ''; }
3133
};

0 commit comments

Comments
 (0)