@maka/maka-cli 5.0.22 → 5.0.25
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/bundle/obf/package.json +53 -55
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
- package/bundle/obf/src/templates/meteor/app/meteor.d.ts +56 -56
- package/bundle/obf/src/templates/meteor/service/logger/logger.js +2 -2
- package/bundle/obf/src/templates/meteor/service/logger/logger.js.ts +2 -2
- package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +2 -2
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/eslint.config.js +19 -0
- package/package.json +53 -55
- package/maka-tar-6.2.1.tgz +0 -0
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.25",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"summary": "A command line tool for scaffolding Meteor 2.x applications using either React.",
|
|
6
6
|
"description": "A command line tool for scaffolding Meteor 2.x applications using React.",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"maka": "./typescript/src/maka.js",
|
|
23
23
|
"test": "jest",
|
|
24
24
|
"develop": "npm run build && concurrently \"tsc -w\" \"wait-on -d 10 ./bundle/typescript/src/exec.js && chmod +x ./bundle/typescript/src/exec.js\" \"cp -R ./src/templates ./bundle/typescript/src/templates/\"",
|
|
25
|
-
"build": "
|
|
25
|
+
"build": "rm -rf ./bundle && rm -rf ./compiled && tsc && npm run obf && npm run prep",
|
|
26
26
|
"obf": "javascript-obfuscator ./bundle/typescript/src --exclude=bundle/typescript/src/templates/**/** --output ./bundle/obf/src/ --config=obfuscator.json",
|
|
27
27
|
"prep": " cp -R ./src/templates ./bundle/obf/src/ && cp ./README.md ./bundle/obf/src/ && cp ./package.json ./bundle/obf/ && chmod +x ./bundle/obf/src/exec.js",
|
|
28
28
|
"//": "## es-build, and package are still experimental",
|
|
@@ -34,77 +34,75 @@
|
|
|
34
34
|
"author": "Maka <maka@maka-cli.com>",
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@aws-sdk/client-ec2": "^3.
|
|
38
|
-
"@aws-sdk/client-ecr": "^3.
|
|
39
|
-
"@aws-sdk/client-route-53": "^3.
|
|
40
|
-
"@aws-sdk/client-route-53-domains": "^3.
|
|
41
|
-
"@
|
|
37
|
+
"@aws-sdk/client-ec2": "^3.637.0",
|
|
38
|
+
"@aws-sdk/client-ecr": "^3.637.0",
|
|
39
|
+
"@aws-sdk/client-route-53": "^3.637.0",
|
|
40
|
+
"@aws-sdk/client-route-53-domains": "^3.637.0",
|
|
41
|
+
"@inquirer/prompts": "^5.3.8",
|
|
42
|
+
"@maka/tar": "^6.2.2",
|
|
42
43
|
"blessed": "^0.1.81",
|
|
43
|
-
"change-case": "^4.
|
|
44
|
-
"cli-color": "^2.0.
|
|
45
|
-
"cli-cursor": "^
|
|
44
|
+
"change-case": "^5.4.4",
|
|
45
|
+
"cli-color": "^2.0.4",
|
|
46
|
+
"cli-cursor": "^5.0.0",
|
|
46
47
|
"cli-table": "^0.3.11",
|
|
47
|
-
"date-fns": "^3.
|
|
48
|
-
"delete": "
|
|
49
|
-
"dotenv": "^16.
|
|
50
|
-
"ejs": "^3.1.
|
|
48
|
+
"date-fns": "^3.6.0",
|
|
49
|
+
"delete": "github:maka-io/delete",
|
|
50
|
+
"dotenv": "^16.4.5",
|
|
51
|
+
"ejs": "^3.1.10",
|
|
51
52
|
"elegant-spinner": "^3.0.0",
|
|
52
|
-
"eslint": "^
|
|
53
|
+
"eslint": "^9.9.1",
|
|
53
54
|
"http-proxy": "^1.18.1",
|
|
54
55
|
"humps": "^2.0.1",
|
|
55
|
-
"inquirer": "^9.2.11",
|
|
56
56
|
"jsonwebtoken": "^9.0.2",
|
|
57
|
-
"latest-version": "^
|
|
57
|
+
"latest-version": "^9.0.0",
|
|
58
58
|
"minimist": "^1.2.8",
|
|
59
59
|
"node-forge": "^1.3.1",
|
|
60
|
-
"open": "^
|
|
61
|
-
"rimraf": "^
|
|
62
|
-
"semver": "^7.
|
|
60
|
+
"open": "^10.1.0",
|
|
61
|
+
"rimraf": "^6.0.1",
|
|
62
|
+
"semver": "^7.6.3",
|
|
63
63
|
"single-line-log2": "^1.1.3",
|
|
64
64
|
"slash": "^5.1.0",
|
|
65
65
|
"spawn-args": "0.2.0",
|
|
66
|
-
"tar": "^
|
|
67
|
-
"
|
|
66
|
+
"tar": "^7.4.3",
|
|
67
|
+
"type-fest": "^4.25.0",
|
|
68
|
+
"uuid": "^10.0.0",
|
|
68
69
|
"xtend": "^4.0.2"
|
|
69
70
|
},
|
|
70
71
|
"devDependencies": {
|
|
71
|
-
"@aws-sdk/types": "^3.
|
|
72
|
-
"@
|
|
73
|
-
"@types/
|
|
74
|
-
"@types/
|
|
75
|
-
"@types/cli-color": "^2.0.
|
|
76
|
-
"@types/cli-table": "^0.3.
|
|
77
|
-
"@types/ejs": "^3.1.
|
|
78
|
-
"@types/
|
|
79
|
-
"@types/
|
|
80
|
-
"@types/
|
|
81
|
-
"@types/
|
|
82
|
-
"@types/
|
|
83
|
-
"@types/
|
|
84
|
-
"@types/
|
|
85
|
-
"@types/
|
|
86
|
-
"@types/
|
|
87
|
-
"@types/
|
|
88
|
-
"@types/react": "^18.
|
|
89
|
-
"@types/
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"@typescript-eslint/parser": "^6.7.0",
|
|
93
|
-
"aws-sdk": "^2.1459.0",
|
|
94
|
-
"chai": "^4.3.8",
|
|
72
|
+
"@aws-sdk/types": "^3.609.0",
|
|
73
|
+
"@eslint/js": "^9.9.1",
|
|
74
|
+
"@types/blessed": "^0.1.25",
|
|
75
|
+
"@types/chai": "^4.3.18",
|
|
76
|
+
"@types/cli-color": "^2.0.6",
|
|
77
|
+
"@types/cli-table": "^0.3.4",
|
|
78
|
+
"@types/ejs": "^3.1.5",
|
|
79
|
+
"@types/fibers": "^3.1.4",
|
|
80
|
+
"@types/http-proxy": "^1.17.15",
|
|
81
|
+
"@types/humps": "^2.0.6",
|
|
82
|
+
"@types/inquirer": "^9.0.7",
|
|
83
|
+
"@types/jest": "^29.5.12",
|
|
84
|
+
"@types/jsonwebtoken": "^9.0.6",
|
|
85
|
+
"@types/meteor": "^2.9.8",
|
|
86
|
+
"@types/minimist": "^1.2.5",
|
|
87
|
+
"@types/node": "^22.5.0",
|
|
88
|
+
"@types/react": "^18.3.4",
|
|
89
|
+
"@types/react-dom": "^18.3.0",
|
|
90
|
+
"@types/uuid": "^10.0.0",
|
|
91
|
+
"aws-sdk": "^2.1682.0",
|
|
92
|
+
"chai": "^5.1.1",
|
|
95
93
|
"chdir": "^0.0.0",
|
|
96
94
|
"concat-stream": "^2.0.0",
|
|
97
|
-
"concurrently": "^8.2.
|
|
98
|
-
"esbuild": "^0.
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"javascript-obfuscator": "^4.1.0",
|
|
95
|
+
"concurrently": "^8.2.2",
|
|
96
|
+
"esbuild": "^0.23.1",
|
|
97
|
+
"globals": "^15.9.0",
|
|
98
|
+
"husky": "^9.1.5",
|
|
99
|
+
"javascript-obfuscator": "^4.1.1",
|
|
103
100
|
"jest": "^29.7.0",
|
|
104
101
|
"mkdirp": "^3.0.1",
|
|
105
|
-
"ts-jest": "^29.
|
|
106
|
-
"typescript": "^5.
|
|
107
|
-
"
|
|
102
|
+
"ts-jest": "^29.2.5",
|
|
103
|
+
"typescript": "^5.5.4",
|
|
104
|
+
"typescript-eslint": "^8.2.0",
|
|
105
|
+
"wait-on": "^8.0.0"
|
|
108
106
|
},
|
|
109
107
|
"engines": {
|
|
110
108
|
"node": ">=14.0.0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x11a;let f=c[d];return f;},a0d(a,b);}function a0c(){const A=['split','maybeProxyCommandToMeteor','Command\x20requires\x20a\x20handler\x20function','_handler','Command.create\x20requires\x20a\x20handler\x20function!','Command.create\x20requires\x20some\x20options!','apply','_commands','14FsfEOG','name','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','minArgLength','Command\x20not\x20found','error','forEach','(((.+)+)+)+$','validateParams','Name','toString','minOptsLength','11404cdgamf','mustHaveMeteorInstalled','processAndRunCommand','Alias','Command\x20format\x20is\x20incorrect','help','localeCompare','search','validateUserIsLoggedIn','Description','usage','LIGHT','call','generate','match','exit','addCommand\x20requires\x20a\x20Command\x20instance','validateMakaProject','20zTWczU','Sub-Commands:','getMakaProjectConfig','options','334256uaTrph','272490jyoLxC','shortDesc','maxArgLength','murder','2706187GskEcT','60294EicFWH','Too\x20many\x20arguments','function','find','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','invoke','projectConfig','assign','210roKqFJ','Too\x20few\x20options','header','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','mpi','addCommand','aliases','push','maxOptsLength','45SOMUAP','constructor','length','create','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','Command\x20','setColorMode','Too\x20many\x20options','bind','Too\x20few\x20arguments','tableList','notice','run','unshift','There\x20is\x20no\x20Meteor\x20application\x20here','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','Please\x20run\x20\x22maka\x20install\x20meteor\x22','number','41059pAXrMY','(experimental)\x20','cfg','getGlobalConfig','bright','keys','109837JZfISK','validateMeteorInstall'];a0c=function(){return A;};return a0c();}const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x161))/0x1*(-parseInt(n(0x171))/0x2)+-parseInt(n(0x146))/0x3*(parseInt(n(0x122))/0x4)+-parseInt(n(0x139))/0x5+parseInt(n(0x13e))/0x6+-parseInt(n(0x167))/0x7+-parseInt(n(0x138))/0x8*(-parseInt(n(0x14f))/0x9)+parseInt(n(0x134))/0xa*(parseInt(n(0x13d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x258dd));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x120)]()[p(0x129)](p(0x11d))['toString']()[p(0x150)](a0a)[p(0x129)](p(0x11d));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';export class Command extends Tool{['options'];[a0q(0x144)];['_commands'];['_handler'];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0x142));if(!a['name'])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==r(0x140))throw new Error(r(0x16b));this['options']=Object[r(0x145)]({},a),this[r(0x172)]=this[r(0x137)][r(0x172)],this['_commands']=[],this[r(0x16c)]=b[r(0x157)](this);}static[a0q(0x152)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x16e));if(typeof b!==s(0x140))throw new Error(s(0x16d));const d=new Command(a,b);return c=c||a0f,Object[s(0x145)](d,{'parent':c?.[s(0x137)]?.[s(0x172)]}),c[s(0x14b)](d),d;}[a0q(0x14b)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x132));this[t(0x170)]['push'](a);}async[a0q(0x15b)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this['cfg'][u(0x164)](),d=c['pallet']==='light'?ColorMode[u(0x12d)]:ColorMode['DARK'];Log[u(0x155)](d);}catch(f){Log[u(0x11b)](f),process['exit'](0x0);}return await this[u(0x143)](a,b);}catch(g){process['exit'](0x1);}}async[a0q(0x143)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0x137)];try{if(this[v(0x137)][v(0x172)]!==v(0x12f)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[v(0x151)]===0x0)&&this[v(0x170)][v(0x151)]>=0x0,h=b[v(0x127)]||b['h'];if(g&&h){if(this[v(0x170)][v(0x151)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[v(0x137)]['mustBeInMakaProject']){const i=this[v(0x133)]();if(!i)throw new MustBeInProjectError();this[v(0x144)]=this[v(0x163)][v(0x136)]();}if(this['options']['mustBeLoggedIn']){const j=await this[v(0x12a)]();if(!j)throw new MustBeLoggedIn();}if(this[v(0x137)][v(0x123)]){const k=this[v(0x168)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[v(0x137)][v(0x174)]===v(0x160)){if(a[v(0x151)]<this[v(0x137)][v(0x174)]){Log[v(0x11b)](v(0x158));throw new UsageError();}}if(typeof this[v(0x137)][v(0x13b)]==='number'){if(a['length']>=this[v(0x137)][v(0x13b)]){Log[v(0x11b)](v(0x13f));throw new UsageError();}}if(typeof this[v(0x137)]['minOptsLength']==='number'){if(Object[v(0x166)](b)[v(0x151)]<this[v(0x137)][v(0x121)]){Log[v(0x11b)](v(0x147));throw new UsageError();}}if(typeof this[v(0x137)][v(0x14e)]==='number'){if(Object[v(0x166)](b)[v(0x151)]>=this[v(0x137)][v(0x14e)]){Log[v(0x11b)](v(0x156));throw new UsageError();}}}}b=await this[v(0x11e)](a,b,this[v(0x137)]),_prevCmd=a[0x0];}return await this['_handler'][v(0x12e)](this,a,b);}catch(l){Log[v(0x12c)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x15a)](v(0x135)),this[v(0x159)](this['_commands']),Log[v(0x148)](v(0x149));else{if(l instanceof MustBeInProjectError)Log['error'](v(0x173));else{if(l instanceof NoMeteorFoundError)Log[v(0x11b)](v(0x153)),Log[v(0x15a)](v(0x15f));else{if(l instanceof NoMeteorAppFoundError)Log[v(0x11b)](v(0x15d));else l instanceof MustBeLoggedIn&&(Log[v(0x11b)](v(0x15e)),Log[v(0x15a)]('Please\x20run\x20\x22maka\x20login\x22'));}}}process[v(0x131)](0x1);}}[a0q(0x159)](a){const w=a0q,b=new a0e({});b[w(0x14d)]([w(0x11f),w(0x125),w(0x12b)]),a['sort']((c,d)=>{const x=w;return c[x(0x172)][x(0x128)](d[x(0x172)]);})[w(0x11c)](c=>{const y=w;if(c[y(0x172)]!==y(0x13c)&&c['name']!=='play'){const d=c['experimental'](),e=d?y(0x162)+c[y(0x13a)]():c[y(0x13a)]();b[y(0x14d)]([c['name'],c[y(0x14c)](),e]);}}),Log[w(0x165)](b[w(0x120)]());}async[a0q(0x124)](a,b=[],c={}){const z=a0q;try{const d=a?.[z(0x169)](':');if(!d||d[z(0x151)]===0x0)throw z(0x126);if(d[0x0]===z(0x12f)||d[0x0]==='g'&&d[z(0x151)]>0x1){const h=this[z(0x170)][z(0x141)](j=>j[z(0x130)](z(0x12f)));if(!h)throw'Command\x20not\x20found';const i=d['slice'](0x1)['join'](':');return b[z(0x15c)](i),await h[z(0x15b)](b,c);}let f=this[z(0x170)],g;for(const j of d){g=f[z(0x141)](k=>k[z(0x130)](j));if(!g)try{await this[z(0x14a)][z(0x16a)]();}catch(k){throw z(0x154)+j+'\x20not\x20found';}g&&(f=g[z(0x170)]);}if(g){const l=await g[z(0x15b)](b,c);return l;}else throw z(0x11a);}catch(m){Log['error'](m),process['exit'](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=parseInt(f(0x100))/0x1*(-parseInt(f(0xfc))/0x2)+-parseInt(f(0xf4))/0x3+parseInt(f(0xf2))/0x4*(parseInt(f(0xfe))/0x5)+parseInt(f(0xfa))/0x6*(-parseInt(f(0xf8))/0x7)+parseInt(f(0xf6))/0x8+parseInt(f(0xfb))/0x9*(parseInt(f(0xff))/0xa)+-parseInt(f(0xf5))/0xb*(-parseInt(f(0xf3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x4453b));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var g=a1d;return a1a[g(0xfd)]()[g(0xf7)]('(((.+)+)+)+$')[g(0xfd)]()['constructor'](a1a)[g(0xf7)](g(0xf9));});function a1c(){var h=['71754QxKcHs','2516vtPqXJ','24AsvKUY','850896QsVxWy','2759702BTiinW','1841232guPVUW','search','7USWEuy','(((.+)+)+)+$','901290liorGS','308457fgvBCl','10oDiVep','toString','1345ecNlqU','50HeGjoL'];a1c=function(){return h;};return a1c();}a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xf2;var f=c[d];return f;},a1d(a,b);}import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2m=a2d;function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1de;let f=c[d];return f;},a2d(a,b);}(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x1ee))/0x1+-parseInt(h(0x204))/0x2*(-parseInt(h(0x1f8))/0x3)+-parseInt(h(0x1ed))/0x4+-parseInt(h(0x207))/0x5*(-parseInt(h(0x1e2))/0x6)+-parseInt(h(0x1f9))/0x7+-parseInt(h(0x1fb))/0x8*(parseInt(h(0x201))/0x9)+parseInt(h(0x1e0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xf15f4));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x203)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x208)]()[j(0x1df)](j(0x1f3))['toString']()[j(0x1de)](a2a)['search'](j(0x1f3));});function a2c(){const o=['apply','24218asHOSj','error','getGlobalConfig','5SDCZYN','toString','stdout','constructor','search','20066490YlPSFQ','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','6656478JZvrwY','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','isFile','openapikey','createInterface','stdin','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','choices','exit','message','916992qdIAAF','627338ALVDKa','openai','bright','You:\x20','data','(((.+)+)+)+$','toLowerCase','cert','create','GPT:\x20','30SgegqF','13563277iXHwbf','Using\x20OpenAI\x20Key\x20','3592aAsYFx','Using\x20CA\x20Cert\x20','fsi','parse','askGPT','trim','14211akCrmz','cacert'];a2c=function(){return o;};return a2c();}a2a();import{Command}from'../command.js';import{HTTPS}from'../tools/https/https.class.js';import{Log}from'../tools/log/log.class.js';import a2e from'readline';const startChat=async({openApiKey:a,caCertPath:b})=>{const k=a2d,c=a2e[k(0x1e7)]({'input':process[k(0x1e8)],'output':process[k(0x209)]});c['question'](k(0x1f1),async d=>{const l=k;if(d[l(0x1f4)]()===l(0x1eb)){c['close']();return;}try{const e=await HTTPS[l(0x1ff)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x1fe)](e[l(0x1f2)]);if(f[l(0x205)])throw new Error(f[l(0x205)][l(0x1ec)]);Log[l(0x1f0)](l(0x1f7)+f?.[l(0x1ea)][0x0]?.['text'][l(0x200)]());}catch(g){Log[l(0x205)](g),process['exit'](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x1f6)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':[a2m(0x202),'openapikey'],'shortDesc':'ChatGPT\x20style\x20AI\x20interface','isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x202)]&&(this[n(0x1fd)][n(0x1e5)](b[n(0x202)])?(c=b[n(0x202)],Log['notice'](n(0x1fc)+c)):Log[n(0x205)](n(0x1e9)+c));const d=await this['cfg'][n(0x206)]();if(d['cert']){if(this['fsi'][n(0x1e5)](d[n(0x1f5)]))c=d[n(0x1f5)];else throw Log[n(0x205)](n(0x1e4)+c);}let f='';if(b[n(0x1e6)])f=b[n(0x1e6)],Log['notice'](n(0x1fa)+f);else{if(d[n(0x1ef)])f=d[n(0x1ef)];else throw Log[n(0x205)](n(0x1e3));}Log['bright'](n(0x1e1)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xc3;var f=c[d];return f;},a3d(a,b);}(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0xc3))/0x1+parseInt(f(0xc5))/0x2*(parseInt(f(0xc9))/0x3)+-parseInt(f(0xca))/0x4+-parseInt(f(0xcd))/0x5+-parseInt(f(0xcc))/0x6*(parseInt(f(0xd0))/0x7)+-parseInt(f(0xc8))/0x8*(-parseInt(f(0xce))/0x9)+parseInt(f(0xc7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x5118e));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xc6)]()[h(0xcb)](h(0xc4))[h(0xc6)]()['constructor'](a3a)[h(0xcb)](h(0xc4));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';function a3c(){var i=['1331300ijZwle','search','438678AEDyAg','1691630onFNWE','9JmySvE','apply','63LShfAK','221142GqtwXf','(((.+)+)+)+$','1926VYTyRX','toString','5324120Zfinsi','3479640Wogetu','1473fYHIxe'];a3c=function(){return i;};return a3c();}import'./csg.sub.cmd.js';import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d
|
|
1
|
+
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1+parseInt(f(0x14b))/0x2*(-parseInt(f(0x146))/0x3)+-parseInt(f(0x152))/0x4+parseInt(f(0x151))/0x5+parseInt(f(0x149))/0x6*(parseInt(f(0x14e))/0x7)+parseInt(f(0x14a))/0x8*(-parseInt(f(0x150))/0x9)+parseInt(f(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x91509));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x154)]()[h(0x148)](h(0x143))[h(0x154)]()[h(0x147)](a4a)['search'](h(0x143));});a4a();function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x143;let f=c[d];return f;},a4d(a,b);}import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a4c(){const j=['1804YxnBvJ','apply','21168650pLZfba','7CsoYiI','927691BvMdbS','9cwfcSg','3130985MBskVQ','1278656syfavs','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','toString','(((.+)+)+)+$','maka\x20aws:<sub-command>','aws','39kvTvgs','constructor','search','640578UFSyFf','7964280aOfETJ'];a4c=function(){return j;};return a4c();}const AWSCommand=Command['create']({'name':a4i(0x145),'usage':a4i(0x144),'validOpts':[],'shortDesc':a4i(0x153),'description':'\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20'},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a5h=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0x190))/0x1*(parseInt(f(0x1aa))/0x2)+-parseInt(f(0x1a7))/0x3*(-parseInt(f(0x19b))/0x4)+parseInt(f(0x19c))/0x5*(-parseInt(f(0x19a))/0x6)+parseInt(f(0x192))/0x7+-parseInt(f(0x197))/0x8+parseInt(f(0x191))/0x9*(parseInt(f(0x1a6))/0xa)+-parseInt(f(0x18c))/0xb*(parseInt(f(0x1a0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x5d774));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const g=a5d;return a5a[g(0x1a2)]()['search']('(((.+)+)+)+$')[g(0x1a2)]()['constructor'](a5a)['search'](g(0x1a1));});function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x18b;let f=c[d];return f;},a5d(a,b);}a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a5c(){const j=['940293tfNJaQ','2504950NwOMaY','$metadata','Repository\x20URI:\x20','cecr','httpStatusCode','2305072rATjAL','exit','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','6LNgecZ','7304JHLYre','166970qwviOK','maka\x20aws:create-ecr\x20--name=my-new-repo','success','maka\x20aws:create-ecr','1602888QnzWmy','(((.+)+)+)+$','toString','repository','aws','region','50LhFalP','1200GYxEiw','Repository\x20created\x20successfully.','notice','91918TJigaE','repositoryUri','error','33MguXoy','Create\x20an\x20Elastic\x20Container\x20Repository','create-ecr','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','11nDGNdR'];a5c=function(){return j;};return a5c();}Command['create']({'name':a5h(0x18e),'aliases':[a5h(0x195)],'usage':a5h(0x19f),'requiredOpts':['name'],'validOpts':[a5h(0x1a5)],'shortDesc':a5h(0x18d),'examples':[a5h(0x19d),'maka\x20aws:cecr\x20--name=my-new-repo',a5h(0x199)]},async function(a,b){const i=a5h;try{const c=await this[i(0x1a4)]['ecrCreateRepository'](b);c&&c[i(0x193)][i(0x196)]===0xc8&&c[i(0x1a3)]?(Log[i(0x19e)](i(0x1a8)),Log[i(0x1a9)](i(0x194)+c[i(0x1a3)][i(0x1ab)])):Log[i(0x18b)](i(0x18f)),process[i(0x198)](0x0);}catch(d){Log[i(0x18b)](d),process[i(0x198)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a6j=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=parseInt(h(0x1a4))/0x1*(-parseInt(h(0x19f))/0x2)+parseInt(h(0x19b))/0x3*(parseInt(h(0x1aa))/0x4)+-parseInt(h(0x1a5))/0x5*(parseInt(h(0x19a))/0x6)+-parseInt(h(0x1ae))/0x7+parseInt(h(0x1b0))/0x8+parseInt(h(0x1af))/0x9+-parseInt(h(0x1a1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x736e1));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const i=a6d;return a6a[i(0x19c)]()[i(0x1a8)](i(0x1a2))[i(0x19c)]()[i(0x19e)](a6a)[i(0x1a8)]('(((.+)+)+)+$');});function a6c(){const l=['743hRupHv','35NwiGAC','create-hosted-zone','Instance\x20not\x20found','search','aws','12fFYyUC','maka\x20aws:create-hosted-zone\x20--domain=example.com','maka\x20aws:chz\x20--domain=example.com','chz','2858856cKaMKy','6339069RRNYxd','151064mwPmDk','publicIp','chooseInstance','117474rcuJLI','876483mkBHrr','toString','domain','constructor','152jPPAVa','error','5249770AQQZwy','(((.+)+)+)+$','create'];a6c=function(){return l;};return a6c();}a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x19a;let f=c[d];return f;},a6d(a,b);}Command[a6j(0x1a3)]({'name':a6j(0x1a6),'aliases':[a6j(0x1ad)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6j(0x19d)],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':[a6j(0x1ab),a6j(0x1ac)]},async function(a,b){const k=a6j;try{const c=b[k(0x19d)];this[k(0x1a9)]['route53CreateHostedZone'](c);const d=await Actions['confirm']('Set\x20hosted\x20zone\x20to\x20an\x20instance?');if(d){const f=await this[k(0x1a9)][k(0x1b2)]();if(f?.['id']){if(!f[k(0x1b1)])throw Log[k(0x1a0)]('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');this[k(0x1a9)]['linkEC2ToRoute53'](f['id'],f[k(0x1b1)],c);}else throw k(0x1a7);}}catch(g){g&&Log[k(0x1a0)](g),process['exit'](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x14c))/0x1+parseInt(Y(0x11d))/0x2+parseInt(Y(0x13a))/0x3*(-parseInt(Y(0x14d))/0x4)+-parseInt(Y(0x127))/0x5+-parseInt(Y(0x139))/0x6*(parseInt(Y(0x10c))/0x7)+-parseInt(Y(0x134))/0x8+parseInt(Y(0x13f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x8b9a2));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x126)]()['search']('(((.+)+)+)+$')['toString']()[a0(0x137)](a7a)[a0(0x117)](a0(0x12b));});a7a();function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x109;let f=c[d];return f;},a7d(a,b);}import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a7a1(0x111)]({'name':'create-instance','aliases':['ci'],'usage':a7a1(0x118),'examples':[a7a1(0x133),a7a1(0x11b)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x11a)}],'validOpts':[],'shortDesc':'Create\x20new\x20AWS\x20instance','description':a7a1(0x143)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0x12a)](b[a2(0x11a)]),i=f[a2(0x12c)](h),j=g+'-'+h,k=await Actions[a2(0x10a)](a2(0x115)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x150)](a2(0x13c),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x116)]['createKeyPair']({'env':h});r=y,s=z,Log['success'](a2(0x109)+r);}else try{Log['notice']('**\x20Available\x20key-pairs\x20**');const A=r?r:k,B=await this[a2(0x116)][a2(0x145)]({'suggestion':A}),C=await Actions[a2(0x10a)](a2(0x142))||'-1';if(parseInt(C)<0x0){Log[a2(0x10f)](a2(0x110)),Log[a2(0x146)](a2(0x13d));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x12f)],Log[a2(0x14a)]('Setting\x20the\x20key-pair\x20to:\x20'+r);break;}}}catch(E){Log[a2(0x10f)](E);}l=await this[a2(0x116)][a2(0x132)]();const t=await Actions[a2(0x150)](a2(0x11c),!![]);let u;if(t){const F=l===''?await this[a2(0x116)]['chooseVPC']():l;u=await Actions[a2(0x10a)](a2(0x119)+k+']')||k;const G=await Actions['ask'](a2(0x122))||a2(0x129),H=G[a2(0x147)](',');await this[a2(0x116)]['ec2createSG']({'description':'Web\x20App','name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this['aws'][a2(0x13e)](u),n=await this[a2(0x116)][a2(0x148)](),p=await this[a2(0x116)][a2(0x123)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x10a)](a2(0x144))||a2(0x128),J=I[a2(0x147)](':')[0x0],K=I[a2(0x147)](':')[0x1];typeof parseInt(J)===a2(0x113)&&typeof parseInt(K)===a2(0x113)&&Log['success'](a2(0x112)+J+':'+K);}catch(L){Log[a2(0x10f)](L);}try{const M=await Actions[a2(0x10a)](a2(0x11e))||'t3.micro';typeof M===a2(0x138)&&(o=M);}catch(N){Log[a2(0x10f)](N);}let x='';try{const O=await Actions[a2(0x150)](a2(0x14f),![]);O&&(x=a7f[a2(0x149)](i,'user-data'),Log[a2(0x146)]('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a2(0x124)][a2(0x12d)]({'filePath':x,'data':''}),await Actions[a2(0x150)]('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log[a2(0x10f)](P);}try{const Q=await this[a2(0x116)]['getSubnetCidr'](p);Log[a2(0x146)](a2(0x10d)+n),Log[a2(0x146)](a2(0x125)+v+':'+w),Log[a2(0x146)](a2(0x140)+o),Log[a2(0x146)](a2(0x14b)+r),Log[a2(0x146)](a2(0x130)+m),Log[a2(0x146)](a2(0x135)+Q);if(x){Log['notice'](a2(0x131)+x);const S=a7g['readFileSync'](x)['toString']();Log[a2(0x146)](S);}const R=await Actions[a2(0x150)](a2(0x13b));if(R){const T=await this[a2(0x116)][a2(0x10e)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0x12e),'Value':'maka-cli'},{'Key':a2(0x11f),'Value':h},{'Key':a2(0x120),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x14a)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log['bright']('Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file'));}else{Log[a2(0x146)](a2(0x10b));const U=await Actions['confirm'](a2(0x121)+r+'\x20?',!![]);U&&(this[a2(0x116)]['deleteKeyPair'](r),d[a2(0x141)](s)&&a7g[a2(0x114)](s));const V=await Actions[a2(0x150)]('Remove\x20the\x20security\x20group\x20'+m+'\x20?',!![]);V&&this[a2(0x116)][a2(0x14e)](m);}}catch(W){Log[a2(0x10f)](W);}}catch(X){X&&Log['error'](X),process['exit'](0x0);}},a7e);function a7c(){const a3=['ImageID:','ec2create','error','You\x20must\x20have\x20a\x20key-pair.\x20\x20Please\x20run\x20\x22maka\x20aws\x20create-key-pair\x20--env\x20<env-name>\x22\x20to\x20generate\x20a\x20new\x20key','create','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','number','unlinkSync','EC2\x20Name:\x20[','aws','search','maka\x20aws:create-instance','Security\x20Group\x20Name:\x20[','env','maka\x20aws:ci\x20--env\x20prod','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','370116RePPGr','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','environment','Name','Remove\x20the\x20keypair\x20','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','listAvailableSubnets','fsi','Instance\x20Count:\x20','toString','2725465JmzfXY','1:1','22,80,443','getEnvFromShorthand','(((.+)+)+)+$','getAppConfigPath','createFile','created-by','name','Security\x20Group:\x20','User\x20Data:','chooseVPC','maka\x20aws:create-instance\x20--env\x20dev','3881448Glvdyo','Subnet:\x20','apply','constructor','string','48tMEXLw','15YvSown','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','No\x20instance\x20has\x20been\x20created.','chooseSecurityGroup','36094500zNFYqG','Instace\x20Type:\x20','isFile','Please\x20choose\x20a\x20key\x20to\x20use:\x20','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','ec2describeKeys','notice','split','listAvailableAMIs','join','success','Key-Pair:\x20','1127126YarjHs','359984iAAFtG','deleteSecurityGroup','Would\x20you\x20like\x20to\x20include\x20user\x20data?','confirm','Setting\x20the\x20key-pair\x20to:\x20','ask','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','889322UOVCXw'];a7c=function(){return a3;};return a7c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(
|
|
1
|
+
const a8j=a8d;function a8c(){const l=['2mkQXqf','268265GqdCtk','env','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','5390763dwNSxP','ckp','maka\x20aws:create-key-pair\x20--env\x20prod','(((.+)+)+)+$','search','toString','173216ruxvOp','exit','9EPyooV','4747389VzryeC','maka\x20aws:create-key-pair','cfg','constructor','getEnvFromShorthand','apply','3655110xDtYbV','11102500lgIBfO','\x0a\x0a\x20\x20In\x20AWS,\x20follow\x20a\x20few\x20questions\x20to\x20create\x20a\x20new\x20Key\x20Pair.\x0a\x20\x20The\x20public\x20key\x20is\x20stored\x20in\x20AWS\x20while\x20the\x20private\x20key\x20is\x20saved\x0a\x20\x20to\x20the\x20_keys\x20directory\x20for\x20the\x20envronment\x20(--env)\x20provided.\x0a\x0a\x20\x20This\x20key\x20cannot\x20be\x20replaced\x20(without\x20support\x20from\x20AWS),\x20and\x20should\x20be\x0a\x20\x20kept\x20safe.\x0a\x0a\x20\x20Maka\x20automatically\x20ignores\x20the\x20_keys\x20directory,\x20so\x20it\x20will\x20not\x20be\x0a\x20\x20stored\x20in\x20version\x20control\x20by\x20default.\x20You\x20may\x20change\x20this\x20in\x20the\x0a\x20\x20.gitignore\x20file\x20at\x20the\x20root\x20of\x20this\x20project,\x20but\x20it\x27s\x20not\x20recommended.\x0a\x20\x20','1612528UthQTQ','84gTFrAT','create-key-pair'];a8c=function(){return l;};return a8c();}(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x1c4))/0x1+-parseInt(g(0x1d3))/0x2*(parseInt(g(0x1c7))/0x3)+-parseInt(g(0x1d1))/0x4*(-parseInt(g(0x1d4))/0x5)+-parseInt(g(0x1cd))/0x6+parseInt(g(0x1d7))/0x7+parseInt(g(0x1d0))/0x8+-parseInt(g(0x1c6))/0x9*(-parseInt(g(0x1ce))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xcdffe));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x1c3)]()[i(0x1db)](i(0x1da))[i(0x1c3)]()[i(0x1ca)](a8a)['search'](i(0x1da));});function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a8d(a,b);}a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a8j(0x1d2),'aliases':[a8j(0x1d8)],'usage':a8j(0x1c8),'examples':[a8j(0x1d9),'maka\x20aws:ckp\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x1d5)],'validOpts':[],'shortDesc':a8j(0x1d6),'description':a8j(0x1cf)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x1c9)][k(0x1cb)](b[k(0x1d5)]);c['createKeyPair']({'env':d});}catch(f){f&&Log['error'](f),process[k(0x1c5)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x159;let f=c[d];return f;},a9d(a,b);}const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x15d))/0x1*(parseInt(m(0x164))/0x2)+-parseInt(m(0x175))/0x3+-parseInt(m(0x15e))/0x4+-parseInt(m(0x162))/0x5*(-parseInt(m(0x166))/0x6)+parseInt(m(0x163))/0x7*(parseInt(m(0x16a))/0x8)+parseInt(m(0x172))/0x9*(parseInt(m(0x168))/0xa)+parseInt(m(0x169))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xbb77e));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x16d)]()[o(0x16f)]('(((.+)+)+)+$')['toString']()[o(0x174)](a9a)[o(0x16f)]('(((.+)+)+)+$');});a9a();function a9c(){const r=['csg','Security\x20Group\x20Name:\x20[','name','74755jfGecH','775428QCsjRi','error','create','Web\x20App','5172890cKAGTz','1153670fFspSU','22ANoOIY','apply','6pndgGV','ask','10cQNuIN','9016469EoowTn','8bqECcY','maka\x20aws:create-secuirty-group','maka\x20aws:csg','toString','create-security-group','search','exit','chooseVPC','7878186oGxPcp','forEach','constructor','3331167WqeejP','maka\x20aws\x20create-security-group','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20'];a9c=function(){return r;};return a9c();}import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a9p(0x160)]({'name':a9p(0x16e),'aliases':[a9p(0x15a)],'usage':a9p(0x176),'validOpts':[],'shortDesc':'Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','mustBeInMakaProject':!![],'description':'\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','examples':[a9p(0x16b),a9p(0x16c)]},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[q(0x171)](),h=b[q(0x15c)]?b['name']:''+f,i=await Actions[q(0x167)](q(0x15b)+h+']')||h,j=await Actions[q(0x167)](q(0x159))||'22,80,443',k=j['split'](',');k[q(0x173)](l=>{if(!l['match'](/^\d+$/))throw'List\x20is\x20not\x20all\x20numbers';}),await d['ec2createSG']({'description':q(0x161),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x15f)](l),process[q(0x170)](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0xd8))/0x1*(-parseInt(f(0xe7))/0x2)+parseInt(f(0xf3))/0x3*(-parseInt(f(0xea))/0x4)+-parseInt(f(0xf0))/0x5+-parseInt(f(0xe0))/0x6+-parseInt(f(0xe4))/0x7*(parseInt(f(0xf6))/0x8)+-parseInt(f(0xe3))/0x9*(parseInt(f(0xdb))/0xa)+parseInt(f(0xeb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x3a7e8));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0xf5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0xdd)]()[h(0xde)](h(0xe6))['toString']()[h(0xd9)](a10a)[h(0xde)]('(((.+)+)+)+$');});a10a();import a10e from'./aws.command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xd8;let f=c[d];return f;},a10d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a10c(){const k=['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','393951hdpJTw','Repository\x20','apply','16bNZTjq','2pXkVEo','constructor','\x20deleted\x20successfully\x20in\x20region\x20','10ZugRae','region','toString','search','Failed\x20to\x20delete\x20the\x20repository:\x20','2797224iZVBDJ','exit','delete-ecr','3402639YlujCe','412727Kgtkbl','\x20in\x20region\x20','(((.+)+)+)+$','247978LSDTzw','.\x20Error:\x20','name','12isDCxq','18031189BgHJOO','Delete\x20an\x20Elastic\x20Container\x20Repository','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','decr','ecrDeleteRepository','1457185tsUKtf','success'];a10c=function(){return k;};return a10c();}Command['create']({'name':a10i(0xe2),'aliases':[a10i(0xee)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':[a10i(0xe9),'region'],'validOpts':[],'shortDesc':a10i(0xec),'examples':[a10i(0xf2),a10i(0xed)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0xef)]({'repoName':b[j(0xe9)],'region':b[j(0xdc)]}),Log[j(0xf1)](j(0xf4)+b[j(0xe9)]+j(0xda)+b[j(0xdc)]+'.'),process[j(0xe1)](0x0);}catch(d){Log['error'](j(0xdf)+b[j(0xe9)]+j(0xe5)+b['region']+j(0xe8)+d),process[j(0xe1)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x15b;let f=c[d];return f;},a11d(a,b);}const a11h=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x163))/0x1*(parseInt(f(0x166))/0x2)+parseInt(f(0x16f))/0x3*(-parseInt(f(0x171))/0x4)+-parseInt(f(0x16c))/0x5*(parseInt(f(0x16b))/0x6)+-parseInt(f(0x169))/0x7*(-parseInt(f(0x16e))/0x8)+-parseInt(f(0x167))/0x9+parseInt(f(0x160))/0xa+-parseInt(f(0x16a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xdcfaf));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const g=a11d;return a11a[g(0x15c)]()['search']('(((.+)+)+)+$')[g(0x15c)]()[g(0x15b)](a11a)[g(0x16d)](g(0x168));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a11c(){const j=['37379oDrTrD','describe-instances','maka\x20aws:describe-instances','74oXopYb','1702629lIyMnO','(((.+)+)+)+$','7OmFwFG','16783822APqEbX','3447642UivlWT','5oqrgxx','search','12977072HiKRBa','1873908cSQWPX','\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20','4pWPrln','constructor','toString','maka\x20aws:di','create','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','8142040qOYrMu','error','exit'];a11c=function(){return j;};return a11c();}Command[a11h(0x15e)]({'name':a11h(0x164),'aliases':['di'],'usage':'maka\x20aws:describe-instances','validOpts':[],'shortDesc':a11h(0x15f),'examples':[a11h(0x165),a11h(0x15d)],'description':a11h(0x170)},async function(){const i=a11h;try{const {aws:a}=this;a['ec2describeInstances']();}catch(b){b&&Log[i(0x161)](b),process[i(0x162)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d
|
|
1
|
+
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(0x150))/0x1*(-parseInt(f(0x14c))/0x2)+-parseInt(f(0x159))/0x3+-parseInt(f(0x154))/0x4+-parseInt(f(0x15c))/0x5*(parseInt(f(0x155))/0x6)+parseInt(f(0x14b))/0x7+-parseInt(f(0x151))/0x8*(-parseInt(f(0x14f))/0x9)+parseInt(f(0x14d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x7a38f));function a12c(){var k=['List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','4144728OTfOEf','4fZUeJi','7864730BgzLUd','exit','9slncEb','319524Xvlnnd','2151272dctiqm','toString','search','3735568fbinRe','544146aLwYId','describe-key-pairs','apply','dkp','2011911gCtejv','constructor','ec2describeKeys','10bKakGA','maka\x20aws:describe-key-pairs','(((.+)+)+)+$','maka\x20aws:dkp'];a12c=function(){return k;};return a12c();}var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a['toString']()[h(0x153)](h(0x15e))[h(0x152)]()[h(0x15a)](a12a)[h(0x153)](h(0x15e));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x14a;var f=c[d];return f;},a12d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12i(0x156),'aliases':[a12i(0x158)],'usage':a12i(0x15d),'validOpts':[],'shortDesc':a12i(0x14a),'examples':[a12i(0x15d),a12i(0x15f)]},async function(){var j=a12i;try{this['aws'][j(0x15b)]();}catch(a){a&&Log['error'](a),process[j(0x14e)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13l=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a13l=a13d;function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x16a;let f=c[d];return f;},a13d(a,b);}(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(0x16f))/0x1*(parseInt(j(0x183))/0x2)+parseInt(j(0x171))/0x3+-parseInt(j(0x18f))/0x4*(-parseInt(j(0x17e))/0x5)+parseInt(j(0x184))/0x6+parseInt(j(0x177))/0x7*(-parseInt(j(0x16e))/0x8)+parseInt(j(0x17b))/0x9+parseInt(j(0x18d))/0xa*(-parseInt(j(0x17a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x600b1));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const k=a13d;return a13a[k(0x16c)]()[k(0x186)](k(0x170))[k(0x16c)]()[k(0x179)](a13a)[k(0x186)](k(0x170));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';function a13c(){const p=['\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','\x20SGID:\x20','20HzSewF','create','52120CgLOzE','getSecurityGroups','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','toString','maka\x20aws:dsg','3759784DysIJp','279029xYPTBG','(((.+)+)+)+$','2215812CSDynx','notice','appName','Deleting\x20a\x20','\x20SG\x20NAME:\x20','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','7XwngCy','forEach','constructor','4864497mvIXgw','5532912lQPqdb','error','bright','90UiFzQd','maka\x20aws:delete-sg','name','exit','sgId','4qqasvQ','4307796YoWbCp','delete-security-group','search','Deleted\x20','confirm','ID:\x20','includes'];a13c=function(){return p;};return a13c();}import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13l(0x18e)]({'name':a13l(0x185),'aliases':['dsg'],'usage':a13l(0x17f),'mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13l(0x16b),'examples':['maka\x20aws:delete-sg',a13l(0x16d)]},async function(){const m=a13l;try{const {projectConfig:a,aws:b}=this;let c='';c=a[m(0x173)];const {sgList:d}=await b[m(0x16a)]();d[m(0x178)](function(i){const n=m;i[n(0x180)][n(0x18a)](c)?Log[n(0x172)](n(0x189)+i['id']+n(0x175)+i[n(0x180)]+n(0x18c)+i['sgId']):Log[n(0x17d)](n(0x189)+i['id']+'\x20SG\x20NAME:\x20'+i[n(0x180)]+n(0x18c)+i[n(0x182)]);});let f='';const g=await Actions['ask']('Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:');d[m(0x178)](function(i){const o=m;i['id']===parseInt(g)&&(f=i[o(0x182)]);});if(!f)throw Log[m(0x17c)](m(0x176));const h=await Actions[m(0x188)](m(0x174)+f+m(0x18b),![]);h?(await b['deleteSecurityGroup'](f),Log['success'](m(0x187)+f)):Log[m(0x17c)]('Not\x20deleting\x20secuirty\x20group'),process['exit'](0x0);}catch(i){i&&Log['error'](i),process[m(0x181)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1+parseInt(f(0xce))/0x2*(parseInt(f(0xbb))/0x3)+parseInt(f(0xc1))/0x4*(parseInt(f(0xb6))/0x5)+parseInt(f(0xba))/0x6*(parseInt(f(0xc7))/0x7)+-parseInt(f(0xca))/0x8*(parseInt(f(0xcf))/0x9)+-parseInt(f(0xc2))/0xa*(parseInt(f(0xcc))/0xb)+parseInt(f(0xbf))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xec3bb));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a['toString']()['search'](h(0xb8))[h(0xbe)]()[h(0xc9)](a14a)['search'](h(0xb8));});a14a();function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0xb4;let f=c[d];return f;},a14d(a,b);}import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0xbc)]({'name':'list-ecr','aliases':[a14i(0xcb)],'usage':a14i(0xc4),'requiredOpts':[],'validOpts':[a14i(0xcd)],'shortDesc':a14i(0xc8),'examples':[a14i(0xb5),'maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const {aws:c}=this;await c[j(0xbd)](b[j(0xcd)]),Log[j(0xc6)](j(0xb7)),process[j(0xb4)](0x0);}catch(d){Log[j(0xc0)](j(0xb9)+d),process[j(0xb4)](0x1);}},a14e);function a14c(){const k=['maka\x20aws:list-ecr','7985GAFbUI','Completed\x20listing\x20ECR\x20repositories.','(((.+)+)+)+$','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','12UNReth','3702zxiqTR','create','listAllEcrRepositories','toString','21807660zclNtI','error','1420xOvEod','120bXEbVz','apply','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','619683OxXMhf','success','3001810QLNyQk','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','constructor','32oXvkdJ','lecr','531817krzYzo','regions','290DnhFSA','2820087doYHvK','exit'];a14c=function(){return k;};return a14c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0xfe))/0x1+-parseInt(f(0xf6))/0x2+parseInt(f(0xfa))/0x3*(-parseInt(f(0xfc))/0x4)+parseInt(f(0x10b))/0x5*(parseInt(f(0x108))/0x6)+parseInt(f(0xfd))/0x7*(parseInt(f(0xfb))/0x8)+-parseInt(f(0x10c))/0x9*(-parseInt(f(0x10a))/0xa)+-parseInt(f(0x10d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xb3dd6));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x109)]()[h(0x111)]('(((.+)+)+)+$')[h(0x109)]()['constructor'](a15a)['search'](h(0x110));});function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0xf3;let f=c[d];return f;},a15d(a,b);}a15a();function a15c(){const k=['Reboot\x20an\x20EC2\x20instance','maka\x20aws:reboot-instance','create','apply','name','30okDqTN','toString','7131590lQinzB','579230ndkYaK','9wnCqqr','16104451YGfasC','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','\x20Ready?','(((.+)+)+)+$','search','error','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','running','699728CmhYjY','confirm','reboot-instance','chooseInstance','1882887tHizNP','8bITilE','4eLuOru','9006851OIFfSm','599178tpHtMJ','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','instanceId','rbi','status'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x105)]({'name':a15i(0xf8),'aliases':[a15i(0x101)],'usage':a15i(0x104),'validOpts':[],'shortDesc':a15i(0x103),'examples':['maka\x20aws:reboot-instance','maka\x20aws:rbi']},async function(){const j=a15i;try{const {aws:a}=this,b=await a[j(0xf9)]();if(b?.[j(0x102)]===j(0xf5)){const c=await Actions[j(0xf7)](j(0xf4)+b[j(0x107)]+j(0x10f));c&&b[j(0x100)]?a['ec2rebootInstance']({'instanceId':b[j(0x100)]}):Log[j(0xf3)](j(0xff)+b[j(0x107)]+'\x20is\x20still\x20running.');}else Log[j(0xf3)](j(0x10e));}catch(d){d&&Log[j(0xf3)](d),process['exit'](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-
|
|
1
|
+
const a16I=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0x1d4))/0x1*(-parseInt(F(0x1eb))/0x2)+parseInt(F(0x1cd))/0x3*(parseInt(F(0x1b6))/0x4)+-parseInt(F(0x1d1))/0x5*(-parseInt(F(0x1e8))/0x6)+-parseInt(F(0x1b8))/0x7+-parseInt(F(0x1cc))/0x8*(-parseInt(F(0x1af))/0x9)+parseInt(F(0x1c4))/0xa*(-parseInt(F(0x1e5))/0xb)+parseInt(F(0x1c8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0xa5744));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0x1d9)]()['search'](G(0x1bb))[G(0x1d9)]()[G(0x1dc)](a16a)['search'](G(0x1bb));});a16a();import a16e from'./aws.command.js';function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x1af;let f=c[d];return f;},a16d(a,b);}function a16c(){const K=['COMPANY','includes','6BJUEKr','Are\x20you\x20sure?','ASSOCIATION','4uxZhwy','mail@example.com','PERSON','The\x20domain\x20name:\x20','checkDomainAvailability','9QVVcGN','Duration\x20in\x20years\x20[1]:\x20','Address\x20Line\x202:\x20','Contact','RESELLER','96816','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','1740Oxuruw','Contact\x20First\x20Name\x20[Contact]:\x20','7772373PQWCMa','confirm','ask','(((.+)+)+)+$','maka\x20aws:register-domain-name\x20--domain=example.com','Zip\x20Code\x20[96816]:\x20','error','register-domain-name','registerDomain','PUBLIC_BODY','Country\x20Code\x20[US]:\x20','Contact\x20Email\x20[mail@example.com]:\x20','110YCNOZF','warn','notice','\x20years\x20(','10231872ryQydY','domain','\x20/\x20Year)','Honolulu','1317592oMKhIo','5532QdjVAa','maka\x20aws:rdn\x20--domain=example.com','Choose\x20contact\x20type','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','2975955OXLbdd','contactType','OrganizationName','216497mWAcMb','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','exit','123\x20Glorious\x20Way','Do\x20you\x20wish\x20to\x20register\x20','toString','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','\x20/\x20Year\x20\x0a','constructor','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','select','State\x20[HI]:\x20','Auto\x20Renew:\x20','My\x20Company,\x20LLC.','+1.5555555556','Domain\x20name\x20is\x20unavailable','Invalid\x202\x20character\x20country\x20code','1059641fMYCXE'];a16c=function(){return K;};return a16c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object['values'](CountryCode)[H(0x1e7)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command['create']({'name':a16I(0x1bf),'aliases':['rdn'],'usage':'maka\x20aws:register-domain-name','requiredOpts':[a16I(0x1c9)],'validOpts':[],'shortDesc':a16I(0x1d5),'examples':[a16I(0x1bc),a16I(0x1ce)]},async function(a,b){const J=a16I,{aws:c}=this;try{const d=b['domain'],{available:f,cost:g}=await c[J(0x1ef)](d);if(f&&g){Log[J(0x1c6)](J(0x1ee)+d+'\x20is\x20available\x20for:');const {Price:h,Currency:i}=g;Log[J(0x1c5)]('\x20\x20'+h+'\x20'+i+J(0x1db));const j=await Actions[J(0x1b9)](J(0x1d8)+d+'?',![]);if(j){const k={'message':J(0x1cf),'name':J(0x1d2),'choices':[{'name':J(0x1ea),'value':J(0x1ea)},{'name':J(0x1e6),'value':J(0x1e6)},{'name':J(0x1ed),'value':J(0x1ed)},{'name':J(0x1c1),'value':J(0x1c1)},{'name':J(0x1b3),'value':J(0x1b3)}]},l=await Actions[J(0x1ba)](J(0x1b0))||'1',m=await Actions['ask'](J(0x1b7))||J(0x1b2),n=await Actions[J(0x1ba)]('Contact\x20Last\x20Name\x20[Person]:\x20')||'Person',o=await Actions[J(0x1de)](k),p=await Actions['ask'](J(0x1d0))||J(0x1d7),q=await Actions['ask'](J(0x1b1)),r=await Actions[J(0x1ba)]('City\x20[Honolulu]:\x20')||J(0x1cb),s=await Actions[J(0x1ba)](J(0x1bd))||J(0x1b4),t=await Actions['ask'](J(0x1df))||'HI',u=await Actions[J(0x1ba)](J(0x1c2))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[J(0x1be)](J(0x1e4));const w=await Actions[J(0x1ba)](J(0x1da))||'+1.5555555555',x=await Actions[J(0x1ba)](J(0x1b5))||J(0x1e2),y=await Actions[J(0x1ba)](J(0x1c3))||J(0x1ec),z=await Actions[J(0x1b9)](J(0x1e0)),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==J(0x1ed)){const D=await Actions[J(0x1ba)]('Organization\x20Name\x20[My\x20Company,\x20LLC.]:')||J(0x1e1);A[J(0x1d3)]=D;}const B=h||0x0*parseInt(l);Log[J(0x1c6)](J(0x1dd)),Log[J(0x1c5)](B+'\x20'+i+'\x20for\x20'+l+J(0x1c7)+h+'\x20'+i+J(0x1ca));const C=await Actions[J(0x1b9)](J(0x1e9));C&&await c[J(0x1c0)](A,d,parseInt(l),z);}}else throw J(0x1e3);}catch(E){E&&Log[J(0x1be)](E),process[J(0x1d6)](0x0);}},a16e);
|