移除默认命令中的hasSubInput属性

This commit is contained in:
fofolee 2025-02-12 16:02:31 +08:00
parent e71d7081a8
commit e843f7afdc
7 changed files with 60 additions and 67 deletions

View File

@ -15,7 +15,6 @@
"program": "quickcommand",
"cmd": "var snippet = {}\nquickcommand.showTextArea(\"请输入代码片段\").then(code => {\n snippet.body = code.split(\"\\n\")\n quickcommand.showInputBox([\"代码片段的描述\", \"触发代码片段的关键词\"])\n .then(inputs => {\n snippet.prefix = inputs[1]\n snippet.description = inputs[0]\n var result = `\"${inputs[0]}\": ` + JSON.stringify(snippet, null, '\\t')\n console.log(result+'\\n结果已复制')\n utools.copyText(result)})\n})",
"output": "text",
"hasSubInput": false,
"scptarg": "",
"tags": [
"默认"

View File

@ -20,7 +20,6 @@
]
},
"output": "html",
"hasSubInput": true,
"tags": [
"默认"
]

View File

@ -16,7 +16,6 @@
]
},
"output": "text",
"hasSubInput": true,
"tags": [
"默认"
]

View File

@ -29,7 +29,6 @@
]
},
"output": "text",
"hasSubInput": false,
"tags": [
"默认"
]

View File

@ -20,7 +20,6 @@
]
},
"output": "text",
"hasSubInput": false,
"tags": [
"默认"
]

View File

@ -31,7 +31,6 @@
]
},
"output": "html",
"hasSubInput": false,
"tags": [
"默认"
]

View File

@ -21,7 +21,6 @@
"program": "quickcommand",
"cmd": "var currentFolder = \"{{pwd}}\"\nvar home = utools.getPath('home')\nvar wt = path.join(home, '/AppData/Local/Microsoft/WindowsApps/wt.exe')\nchild_process.exec(`start \"\" \"${wt}\" -d \"${currentFolder.replace('\\\\', '\\\\\\\\')}\"`)",
"output": "ignore",
"hasSubInput": false,
"scptarg": "",
"charset": {
"scriptCode": "",