gomtm 0.0.533 → 0.0.534
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/gomtm +13 -0
- package/package.json +3 -2
package/bin/gomtm
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
|
|
3
|
+
export MTM_SECRET="feihuo321------"
|
|
4
|
+
export GOBIN="${PWD}/.tmp/bin"
|
|
5
|
+
go run mtm/cmd/main.go "$@"
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
# # 生成 Bash 自动完成功能脚本,并将其添加到 Bash 配置文件中
|
|
9
|
+
# (bin/gomtm --generate-bash-completion > main_bash_autocomplete) && source ./main_bash_autocomplete
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
# PROG=bin/gomtm source ./bin/autocomplete/bash_autocomplete
|
|
13
|
+
# PROG=gomtm source ../bin/autocomplete/bash_autocomplete
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gomtm",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.534",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -11,7 +11,8 @@
|
|
|
11
11
|
"dist"
|
|
12
12
|
],
|
|
13
13
|
"bin": {
|
|
14
|
-
"gomtm": "./dist/main.js"
|
|
14
|
+
"gomtm": "./dist/main.js",
|
|
15
|
+
"gomtm2": "./bin/gomtm"
|
|
15
16
|
},
|
|
16
17
|
"typesVersions": {
|
|
17
18
|
"*": {
|