MCPcopy Create free account
hub / github.com/ding113/claude-code-hub / inputPriority

Method inputPriority

scripts/clear-session-bindings.ts:780–788  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

778 }
779
780 async inputPriority(): Promise<number | null> {
781 const input = await this.question("请输入优先级阈值(清除 priority < 该值的供应商): ");
782 const value = Number.parseInt(input, 10);
783 if (Number.isNaN(value)) {
784 console.log("无效的数字,请重新输入");
785 return this.inputPriority();
786 }
787 return value;
788 }
789
790 async inputNamePattern(): Promise<string | null> {
791 const input = await this.question("请输入供应商名称(模糊匹配): ");

Callers 1

mainFunction · 0.80

Calls 1

questionMethod · 0.95

Tested by

no test coverage detected