mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-06-08 22:51:25 +08:00
移除默认命令中的hasSubInput属性
This commit is contained in:
parent
e71d7081a8
commit
e843f7afdc
@ -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": [
|
||||
"默认"
|
||||
|
@ -20,7 +20,6 @@
|
||||
]
|
||||
},
|
||||
"output": "html",
|
||||
"hasSubInput": true,
|
||||
"tags": [
|
||||
"默认"
|
||||
]
|
||||
|
@ -16,7 +16,6 @@
|
||||
]
|
||||
},
|
||||
"output": "text",
|
||||
"hasSubInput": true,
|
||||
"tags": [
|
||||
"默认"
|
||||
]
|
||||
|
@ -29,7 +29,6 @@
|
||||
]
|
||||
},
|
||||
"output": "text",
|
||||
"hasSubInput": false,
|
||||
"tags": [
|
||||
"默认"
|
||||
]
|
||||
|
@ -20,7 +20,6 @@
|
||||
]
|
||||
},
|
||||
"output": "text",
|
||||
"hasSubInput": false,
|
||||
"tags": [
|
||||
"默认"
|
||||
]
|
||||
|
@ -31,7 +31,6 @@
|
||||
]
|
||||
},
|
||||
"output": "html",
|
||||
"hasSubInput": false,
|
||||
"tags": [
|
||||
"默认"
|
||||
]
|
||||
|
@ -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": "",
|
||||
|
Loading…
x
Reference in New Issue
Block a user