老安
老安
  • 发布:2019-05-15 16:51
  • 更新:2019-05-15 17:28
  • 阅读:1577

HBuilder X 20190426 自定义外部命令,配置git, git commit -m "参数" 这个参数,执行外部命令的时候,怎么传进来

分类:HBuilderX

如题

2019-05-15 16:51 负责人:无 分享
已邀请:
老安

老安 (作者)

再请教,自定义外部命令那个数组,会自动按照name排序,请问怎么自定义顺序。
[{
"name": "git add commit",
"command": "git status && git add . && git commit -m \"提交\"",
"type": "shell",
"key": ""
}, {
"name": "git push",
"command": "git push origin master",
"type": "shell",
"key": ""
}]

DCloud_HB_WDL

DCloud_HB_WDL

···
[{
"name": "git add commit",
"command": "git status && git add . && git commit -m ${userInput:请输入提交消息}",
"type": "shell",
"key": ""
}, {
"name": "git push",
"command": "git push origin master",
"type": "shell",
"key": ""
}]
···

暂时不支持排序

该问题目前已经被锁定, 无法添加新回复