@maka/maka-cli 5.0.22 → 5.0.24
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/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/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/delete-1.1.0.tgz +0 -0
- package/eslint.config.js +19 -0
- package/maka-maka-cli-5.0.23.tgz +0 -0
- package/matched-5.0.1.tgz +0 -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.24",
|
|
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
|
-
const
|
|
1
|
+
const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x105))/0x1*(-parseInt(n(0xfa))/0x2)+parseInt(n(0x102))/0x3*(parseInt(n(0x10e))/0x4)+parseInt(n(0x12d))/0x5*(-parseInt(n(0xfb))/0x6)+-parseInt(n(0x107))/0x7+parseInt(n(0x134))/0x8+parseInt(n(0x13c))/0x9+parseInt(n(0x142))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xe2866));function a0c(){const A=['Command\x20requires\x20a\x20name','Name','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','push','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','assign','invoke','minOptsLength','generate','Too\x20few\x20arguments','murder','addCommand\x20requires\x20a\x20Command\x20instance','usage','projectConfig','play','create','options','Command.create\x20requires\x20a\x20handler\x20function!','Command\x20not\x20found','call','_commands','join','run','setColorMode','Description','validateMeteorInstall','120vUeuUo','addCommand','mustHaveMeteorInstalled','(experimental)\x20','maxArgLength','match','pallet','581464ErJbmw','function','apply','length','cfg','\x20not\x20found','maybeProxyCommandToMeteor','Command\x20format\x20is\x20incorrect','9103311ugkBWe','error','tableList','Please\x20run\x20\x22maka\x20install\x20meteor\x22','toString','LIGHT','37292460icUQZv','Alias','localeCompare','Too\x20few\x20options','processAndRunCommand','validateMakaProject','find','unshift','aliases','bright','help','name','keys','validateParams','getGlobalConfig','light','There\x20is\x20no\x20Meteor\x20application\x20here','getMakaProjectConfig','2gmiude','378264DhvkHO','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','header','exit','shortDesc','_handler','number','402120CdQspf','Command\x20requires\x20a\x20handler\x20function','Sub-Commands:','1240634HuGmhk','(((.+)+)+)+$','10737944plhkvi','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','maxOptsLength','Command\x20','validateUserIsLoggedIn','Command.create\x20requires\x20some\x20options!','notice','12FdIPxC','forEach','Too\x20many\x20arguments','search','bind'];a0c=function(){return A;};return a0c();}const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x140)]()['search'](p(0x106))[p(0x140)]()['constructor'](a0a)[p(0x111)](p(0x106));});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='';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xf5;let f=c[d];return f;},a0d(a,b);}export class Command extends Tool{[a0q(0x123)];[a0q(0x120)];[a0q(0x127)];[a0q(0x100)];constructor(a,b){const r=a0q;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[r(0x14d)])throw new Error(r(0x113));if(typeof b!==r(0x135))throw new Error(r(0x103));this[r(0x123)]=Object['assign']({},a),this['name']=this[r(0x123)][r(0x14d)],this['_commands']=[],this[r(0x100)]=b[r(0x112)](this);}static[a0q(0x122)](a,b,c){const s=a0q;if(!a)throw new Error(s(0x10c));if(typeof b!==s(0x135))throw new Error(s(0x124));const d=new Command(a,b);return c=c||a0f,Object[s(0x118)](d,{'parent':c?.[s(0x123)]?.[s(0x14d)]}),c[s(0x12e)](d),d;}[a0q(0x12e)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0x11e));this['_commands'][t(0x116)](a);}async[a0q(0x129)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this['cfg'][u(0xf6)](),d=c[u(0x133)]===u(0xf7)?ColorMode[u(0x141)]:ColorMode['DARK'];Log[u(0x12a)](d);}catch(f){Log[u(0x13d)](f),process[u(0xfe)](0x0);}return await this[u(0x119)](a,b);}catch(g){process[u(0xfe)](0x1);}}async[a0q(0x119)](a,b){const v=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0x123)];try{if(this['options'][v(0x14d)]!=='generate'){if(!isRoot){const g=(a[0x0]===_prevCmd||a['length']===0x0)&&this[v(0x127)]['length']>=0x0,h=b[v(0x14c)]||b['h'];if(g&&h){if(this['_commands'][v(0x137)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options']['mustBeInMakaProject']){const i=this[v(0x147)]();if(!i)throw new MustBeInProjectError();this['projectConfig']=this[v(0x138)][v(0xf9)]();}if(this['options']['mustBeLoggedIn']){const j=await this[v(0x10b)]();if(!j)throw new MustBeLoggedIn();}if(this['options'][v(0x12f)]){const k=this[v(0x12c)]();if(!k)throw new NoMeteorFoundError();}if(typeof this['options']['minArgLength']===v(0x101)){if(a['length']<this[v(0x123)]['minArgLength']){Log[v(0x13d)](v(0x11c));throw new UsageError();}}if(typeof this[v(0x123)][v(0x131)]===v(0x101)){if(a[v(0x137)]>=this['options'][v(0x131)]){Log[v(0x13d)](v(0x110));throw new UsageError();}}if(typeof this['options'][v(0x11a)]===v(0x101)){if(Object[v(0x14e)](b)['length']<this[v(0x123)][v(0x11a)]){Log[v(0x13d)](v(0x145));throw new UsageError();}}if(typeof this[v(0x123)][v(0x109)]===v(0x101)){if(Object[v(0x14e)](b)[v(0x137)]>=this[v(0x123)]['maxOptsLength']){Log[v(0x13d)]('Too\x20many\x20options');throw new UsageError();}}}}b=await this[v(0xf5)](a,b,this[v(0x123)]),_prevCmd=a[0x0];}return await this['_handler'][v(0x126)](this,a,b);}catch(l){Log[v(0x11f)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x10d)](v(0x104)),this[v(0x13e)](this['_commands']),Log[v(0xfd)](v(0x117));else{if(l instanceof MustBeInProjectError)Log[v(0x13d)](v(0x108));else{if(l instanceof NoMeteorFoundError)Log[v(0x13d)](v(0xfc)),Log[v(0x10d)](v(0x13f));else{if(l instanceof NoMeteorAppFoundError)Log[v(0x13d)](v(0xf8));else l instanceof MustBeLoggedIn&&(Log[v(0x13d)](v(0x115)),Log['notice']('Please\x20run\x20\x22maka\x20login\x22'));}}}process[v(0xfe)](0x1);}}[a0q(0x13e)](a){const w=a0q,b=new a0e({});b['push']([w(0x114),w(0x143),w(0x12b)]),a['sort']((c,d)=>{const x=w;return c[x(0x14d)][x(0x144)](d[x(0x14d)]);})[w(0x10f)](c=>{const y=w;if(c[y(0x14d)]!==y(0x11d)&&c[y(0x14d)]!==y(0x121)){const d=c['experimental'](),e=d?y(0x130)+c[y(0xff)]():c['shortDesc']();b['push']([c['name'],c[y(0x14a)](),e]);}}),Log[w(0x14b)](b[w(0x140)]());}async[a0q(0x146)](a,b=[],c={}){const z=a0q;try{const d=a?.['split'](':');if(!d||d['length']===0x0)throw z(0x13b);if(d[0x0]===z(0x11b)||d[0x0]==='g'&&d[z(0x137)]>0x1){const h=this[z(0x127)][z(0x148)](j=>j[z(0x132)](z(0x11b)));if(!h)throw'Command\x20not\x20found';const i=d['slice'](0x1)[z(0x128)](':');return b[z(0x149)](i),await h[z(0x129)](b,c);}let f=this['_commands'],g;for(const j of d){g=f[z(0x148)](k=>k[z(0x132)](j));if(!g)try{await this['mpi'][z(0x13a)]();}catch(k){throw z(0x10a)+j+z(0x139);}g&&(f=g[z(0x127)]);}if(g){const l=await g[z(0x129)](b,c);return l;}else throw z(0x125);}catch(m){Log[z(0x13d)](m),process['exit'](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a1d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a1d,c=a();while(!![]){try{var d=-parseInt(f(0x86))/0x1*(-parseInt(f(0x8b))/0x2)+-parseInt(f(0x85))/0x3+parseInt(f(0x88))/0x4+parseInt(f(0x82))/0x5*(parseInt(f(0x80))/0x6)+-parseInt(f(0x8a))/0x7*(-parseInt(f(0x81))/0x8)+-parseInt(f(0x7f))/0x9*(-parseInt(f(0x89))/0xa)+parseInt(f(0x7e))/0xb*(-parseInt(f(0x83))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x53fca));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0x84)]()[h(0x7d)]('(((.+)+)+)+$')['toString']()[h(0x7c)](a1a)[h(0x7d)](h(0x7b));});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';function a1c(){var i=['14759sBxwVK','apply','2453828rkRNpn','164770lBYVtJ','72100vxrOar','40opqcnQ','(((.+)+)+)+$','constructor','search','66fRtnOc','81ffsTNa','33408proNsx','440VgUAwJ','70buQZCG','2431140qfnGDH','toString','425406TOHytk'];a1c=function(){return i;};return a1c();}import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test.js';import'./version.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x7b;var f=c[d];return f;},a1d(a,b);}import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x12a))/0x1+parseInt(h(0x11c))/0x2+parseInt(h(0x11d))/0x3*(-parseInt(h(0x12c))/0x4)+parseInt(h(0x10f))/0x5*(parseInt(h(0x10d))/0x6)+parseInt(h(0x125))/0x7*(parseInt(h(0x112))/0x8)+-parseInt(h(0x119))/0x9*(parseInt(h(0x124))/0xa)+parseInt(h(0x12e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xb4fb8));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x108)]()[j(0x110)](j(0x111))[j(0x108)]()['constructor'](a2a)[j(0x110)]('(((.+)+)+)+$');});function a2c(){const o=['stdin','bright','isFile','close','question','cert','6130MeVpkt','399mWmhfw','stdout','openapikey','You:\x20','askGPT','492186SJkinj','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','4QUAiJp','data','14394567ltSZkp','trim','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','toString','ChatGPT\x20style\x20AI\x20interface','notice','Using\x20CA\x20Cert\x20','exit','3878322bHfmzD','choices','5AYojiW','search','(((.+)+)+)+$','88264RdDQBP','cfg','openai','error','parse','fsi','cacert','12888XaNHYy','apply','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','1223204Qmnpws','3252483MflxAj'];a2c=function(){return o;};return a2c();}a2a();import{Command}from'../command.js';function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x106;let f=c[d];return f;},a2d(a,b);}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['createInterface']({'input':process[k(0x11e)],'output':process[k(0x126)]});c[k(0x122)](k(0x128),async d=>{const l=k;if(d['toLowerCase']()===l(0x10c)){c[l(0x121)]();return;}try{const e=await HTTPS[l(0x129)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x116)](e[l(0x12d)]);if(f[l(0x115)])throw new Error(f[l(0x115)]['message']);Log[l(0x11f)]('GPT:\x20'+f?.[l(0x10e)][0x0]?.['text'][l(0x106)]());}catch(g){Log[l(0x115)](g),process[l(0x10c)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command['create']({'name':'ai','description':a2m(0x109),'validOpts':[a2m(0x118),a2m(0x127)],'shortDesc':a2m(0x109),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x118)]&&(this[n(0x117)][n(0x120)](b[n(0x118)])?(c=b[n(0x118)],Log[n(0x10a)](n(0x10b)+c)):Log[n(0x115)](n(0x107)+c));const d=await this[n(0x113)]['getGlobalConfig']();if(d[n(0x123)]){if(this['fsi'][n(0x120)](d[n(0x123)]))c=d[n(0x123)];else throw Log[n(0x115)](n(0x11b)+c);}let f='';if(b[n(0x127)])f=b[n(0x127)],Log[n(0x10a)]('Using\x20OpenAI\x20Key\x20'+f);else{if(d[n(0x114)])f=d['openai'];else throw Log[n(0x115)](n(0x12b));}Log[n(0x11f)]('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=-parseInt(f(0x176))/0x1*(-parseInt(f(0x174))/0x2)+-parseInt(f(0x171))/0x3+parseInt(f(0x16e))/0x4*(-parseInt(f(0x16c))/0x5)+-parseInt(f(0x169))/0x6+-parseInt(f(0x170))/0x7+parseInt(f(0x16f))/0x8*(-parseInt(f(0x173))/0x9)+-parseInt(f(0x172))/0xa*(-parseInt(f(0x16a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x616cc));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x167)]()[h(0x175)](h(0x168))[h(0x167)]()[h(0x16b)](a3a)[h(0x175)](h(0x168));});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';import'./di.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x167;var f=c[d];return f;},a3d(a,b);}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';function a3c(){var i=['toString','(((.+)+)+)+$','129324CDqvbe','25817aHtAfA','constructor','7535itJPzU','apply','836YHgScH','239728sUXyVT','1651636kmpeAw','1528662XiaREY','6530bsJBMN','189yqoxSD','82538yPGuAU','search','14llwJRj'];a3c=function(){return i;};return a3c();}import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a4h=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0xe0))/0x1+parseInt(f(0xdc))/0x2+parseInt(f(0xda))/0x3+parseInt(f(0xe3))/0x4+parseInt(f(0xd8))/0x5*(-parseInt(f(0xd7))/0x6)+-parseInt(f(0xd5))/0x7+parseInt(f(0xe2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x9dd34));const a4b=(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;};}()),a4a=a4b(this,function(){const g=a4d;return a4a['toString']()[g(0xe1)](g(0xde))[g(0xd6)]()[g(0xe4)](a4a)[g(0xe1)](g(0xde));});a4a();function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xd5;let f=c[d];return f;},a4d(a,b);}function a4c(){const i=['search','6585752BLcBhk','4568312HBpuam','constructor','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','2618413wXhhLl','toString','30taaHBn','1171915qdXbuv','create','2990127ggoRqd','aws','921204DhDhHt','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','(((.+)+)+)+$','maka\x20aws:<sub-command>','1230182KZFpKN'];a4c=function(){return i;};return a4c();}import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4h(0xd9)]({'name':a4h(0xdb),'usage':a4h(0xdf),'validOpts':[],'shortDesc':a4h(0xdd),'description':a4h(0xe5)},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=-parseInt(f(0x171))/0x1+parseInt(f(0x160))/0x2*(-parseInt(f(0x15b))/0x3)+parseInt(f(0x15d))/0x4*(-parseInt(f(0x16c))/0x5)+parseInt(f(0x153))/0x6+-parseInt(f(0x15a))/0x7+parseInt(f(0x16a))/0x8*(parseInt(f(0x16e))/0x9)+-parseInt(f(0x161))/0xa*(-parseInt(f(0x167))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x8666c));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a['toString']()['search'](h(0x172))[h(0x15c)]()[h(0x16b)](a5a)[h(0x15f)]('(((.+)+)+)+$');});a5a();function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x152;let f=c[d];return f;},a5d(a,b);}import a5e from'./aws.command.js';function a5c(){const k=['exit','success','notice','httpStatusCode','maka\x20aws:cecr\x20--name=my-new-repo','Repository\x20URI:\x20','3372978aOwjKP','422706nSDUOm','toString','52264ALUeMO','repository','search','2uGTfbp','10acNDPd','Create\x20an\x20Elastic\x20Container\x20Repository','apply','$metadata','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','region','7907152yYwaza','maka\x20aws:create-ecr','ecrCreateRepository','22192xPdnrj','constructor','235LOSfYM','create','3348HBJJeF','cecr','aws','968086jGUfSI','(((.+)+)+)+$','error','6028152vJormD'];a5c=function(){return k;};return a5c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a5i(0x16d)]({'name':'create-ecr','aliases':[a5i(0x16f)],'usage':a5i(0x168),'requiredOpts':['name'],'validOpts':[a5i(0x166)],'shortDesc':a5i(0x162),'examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5i(0x158),'maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1']},async function(a,b){const j=a5i;try{const c=await this[j(0x170)][j(0x169)](b);c&&c[j(0x164)][j(0x157)]===0xc8&&c[j(0x15e)]?(Log[j(0x155)]('Repository\x20created\x20successfully.'),Log[j(0x156)](j(0x159)+c[j(0x15e)]['repositoryUri'])):Log[j(0x152)](j(0x165)),process['exit'](0x0);}catch(d){Log[j(0x152)](d),process[j(0x154)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d
|
|
1
|
+
const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(0xae))/0x1+parseInt(h(0x9d))/0x2+parseInt(h(0xac))/0x3*(parseInt(h(0xa0))/0x4)+-parseInt(h(0x9e))/0x5*(-parseInt(h(0xa6))/0x6)+-parseInt(h(0xab))/0x7+-parseInt(h(0x96))/0x8*(parseInt(h(0x9f))/0x9)+parseInt(h(0xa7))/0xa*(-parseInt(h(0xaa))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x7f957));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0xb3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0xa2)]()['search']('(((.+)+)+)+$')[j(0xa2)]()[j(0x97)](a6a)[j(0xa1)](j(0xb0));});a6a();function a6c(){const m=['Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','Set\x20hosted\x20zone\x20to\x20an\x20instance?','maka\x20aws:create-hosted-zone','publicIp','exit','1067294lOBvJb','1177070SzkBys','1113903wZBkgj','19884TqSjYR','search','toString','maka\x20aws:create-hosted-zone\x20--domain=example.com','linkEC2ToRoute53','create','24fxyFxl','20qYRQqI','Instance\x20not\x20found','error','2173919mRaPUc','6492857MfCyMM','627fYQqGs','create-hosted-zone','545083OVhidC','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','(((.+)+)+)+$','domain','aws','apply','8ycTdfV','constructor'];a6c=function(){return m;};return a6c();}import a6e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x96;let f=c[d];return f;},a6d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a6k(0xa5)]({'name':a6k(0xad),'aliases':['chz'],'usage':a6k(0x9a),'requiredOpts':[a6k(0xb1)],'validOpts':[],'shortDesc':a6k(0xaf),'examples':[a6k(0xa3),'maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const l=a6k;try{const c=b['domain'];this[l(0xb2)]['route53CreateHostedZone'](c);const d=await Actions['confirm'](l(0x99));if(d){const f=await this['aws']['chooseInstance']();if(f?.['id']){if(!f[l(0x9b)])throw Log[l(0xa9)](l(0x98));this[l(0xb2)][l(0xa4)](f['id'],f[l(0x9b)],c);}else throw l(0xa8);}}catch(g){g&&Log[l(0xa9)](g),process[l(0x9c)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x1ac))/0x1+-parseInt(Y(0x1a5))/0x2+-parseInt(Y(0x1c7))/0x3*(-parseInt(Y(0x197))/0x4)+-parseInt(Y(0x1b5))/0x5+parseInt(Y(0x185))/0x6+parseInt(Y(0x187))/0x7*(-parseInt(Y(0x1c8))/0x8)+parseInt(Y(0x1b2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x86ad3));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x18b)]()[a0(0x196)]('(((.+)+)+)+$')[a0(0x18b)]()[a0(0x1ca)](a7a)[a0(0x196)](a0(0x1b1));});function a7c(){const a3=['ec2create','toString','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','\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','join','string','confirm','unlinkSync','maka-cli','success','deleteKeyPair','readFileSync','search','115028EcRBTP','Web\x20App','deleteSecurityGroup','environment','aws','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','notice','fsi','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','Name','ask','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','name','chooseVPC','1959148GZQjEJ','bright','apply','create-instance','getSubnetCidr','listAvailableSubnets','Setting\x20the\x20key-pair\x20to:\x20','316624SsidbK','Subnet:\x20','createKeyPair','Creating\x20user\x20data\x20file\x20in\x20','exit','(((.+)+)+)+$','9461799mcTHlR','maka\x20aws:create-instance\x20--env\x20dev','Remove\x20the\x20keypair\x20','1236245lzfsji','error','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','Would\x20you\x20like\x20to\x20include\x20user\x20data?','created-by','isFile','Security\x20Group:\x20','User\x20Data:','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','**\x20Available\x20key-pairs\x20**','chooseSecurityGroup','create','No\x20instance\x20has\x20been\x20created.','t3.micro','Remove\x20the\x20security\x20group\x20','Instace\x20Type:\x20','env','split','30oKUGvh','40952pvrksf','ec2createSG','constructor','getAppConfigPath','Create\x20new\x20AWS\x20instance','1:1','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','4976250GiAQEC','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','966fgAApw','number','maka\x20aws:create-instance'];a7c=function(){return a3;};return a7c();}a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0x183;let f=c[d];return f;},a7d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a7a1(0x1c0)]({'name':a7a1(0x1a8),'aliases':['ci'],'usage':a7a1(0x189),'examples':[a7a1(0x1b3),'maka\x20aws:ci\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x1c5)}],'validOpts':[],'shortDesc':a7a1(0x1cc),'description':a7a1(0x18d)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f['getEnvFromShorthand'](b[a2(0x1c5)]),i=f[a2(0x1cb)](h),j=g+'-'+h,k=await Actions[a2(0x1a1)]('EC2\x20Name:\x20['+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0x190)](a2(0x1a2),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a2(0x19b)][a2(0x1ae)]({'env':h});r=y,s=z,Log[a2(0x193)](a2(0x1ab)+r);}else try{Log['notice'](a2(0x1be));const A=r?r:k,B=await this['aws']['ec2describeKeys']({'suggestion':A}),C=await Actions['ask']('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[a2(0x1b6)](a2(0x18c)),Log['notice'](a2(0x1c1));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x1a3)],Log[a2(0x193)]('Setting\x20the\x20key-pair\x20to:\x20'+r);break;}}}catch(E){Log[a2(0x1b6)](E);}l=await this[a2(0x19b)][a2(0x1a4)]();const t=await Actions['confirm'](a2(0x1bd),!![]);let u;if(t){const F=l===''?await this[a2(0x19b)][a2(0x1a4)]():l;u=await Actions[a2(0x1a1)]('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions['ask']('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||'22,80,443',H=G['split'](',');await this[a2(0x19b)][a2(0x1c9)]({'description':a2(0x198),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a2(0x19b)][a2(0x1bf)](u),n=await this[a2(0x19b)]['listAvailableAMIs'](),p=await this[a2(0x19b)][a2(0x1aa)]();const v=0x1,w=0x1;try{const I=await Actions['ask'](a2(0x184))||a2(0x183),J=I['split'](':')[0x0],K=I[a2(0x1c6)](':')[0x1];typeof parseInt(J)==='number'&&typeof parseInt(K)===a2(0x188)&&Log[a2(0x193)](a2(0x186)+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions[a2(0x1a1)]('What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]')||a2(0x1c2);typeof M===a2(0x18f)&&(o=M);}catch(N){Log[a2(0x1b6)](N);}let x='';try{const O=await Actions[a2(0x190)](a2(0x1b8),![]);O&&(x=a7f[a2(0x18e)](i,'user-data'),Log[a2(0x19d)](a2(0x1af)+x),await this[a2(0x19e)]['createFile']({'filePath':x,'data':''}),await Actions[a2(0x190)]('Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?'));}catch(P){Log[a2(0x1b6)](P);}try{const Q=await this[a2(0x19b)][a2(0x1a9)](p);Log['notice']('ImageID:'+n),Log[a2(0x19d)]('Instance\x20Count:\x20'+v+':'+w),Log[a2(0x19d)](a2(0x1c4)+o),Log[a2(0x19d)]('Key-Pair:\x20'+r),Log['notice'](a2(0x1bb)+m),Log[a2(0x19d)](a2(0x1ad)+Q);if(x){Log['notice'](a2(0x1bc)+x);const S=a7g[a2(0x195)](x)[a2(0x18b)]();Log[a2(0x19d)](S);}const R=await Actions[a2(0x190)](a2(0x19c));if(R){const T=await this['aws'][a2(0x18a)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0x1b9),'Value':a2(0x192)},{'Key':a2(0x19a),'Value':h},{'Key':a2(0x1a0),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0x193)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a2(0x1a6)](a2(0x1b7)));}else{Log[a2(0x19d)](a2(0x19f));const U=await Actions[a2(0x190)](a2(0x1b4)+r+'\x20?',!![]);U&&(this[a2(0x19b)][a2(0x194)](r),d[a2(0x1ba)](s)&&a7g[a2(0x191)](s));const V=await Actions['confirm'](a2(0x1c3)+m+'\x20?',!![]);V&&this[a2(0x19b)][a2(0x199)](m);}}catch(W){Log[a2(0x1b6)](W);}}catch(X){X&&Log[a2(0x1b6)](X),process[a2(0x1b0)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8i=a8d;function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0xde;let f=c[d];return f;},a8d(a,b);}(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0xec))/0x1+parseInt(g(0xef))/0x2*(parseInt(g(0xed))/0x3)+-parseInt(g(0xe9))/0x4+parseInt(g(0xf0))/0x5*(-parseInt(g(0xf1))/0x6)+-parseInt(g(0xe6))/0x7+-parseInt(g(0xe0))/0x8+parseInt(g(0xe1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x43590));const a8b=(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;};}()),a8a=a8b(this,function(){const h=a8d;return a8a['toString']()[h(0xdf)](h(0xe3))[h(0xe8)]()[h(0xee)](a8a)[h(0xdf)](h(0xe3));});a8a();function a8c(){const k=['443694WiawIJ','maka\x20aws:create-key-pair','search','4313328cESsGL','18019710QGIdtq','maka\x20aws:create-key-pair\x20--env\x20prod','(((.+)+)+)+$','ckp','create','2677892PZODBI','create-key-pair','toString','1672720TZYEtG','createKeyPair','getEnvFromShorthand','350775tVzcYV','9uAkydN','constructor','25528xlVkAj','5rKswyG'];a8c=function(){return k;};return a8c();}import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8i(0xe5)]({'name':a8i(0xe7),'aliases':[a8i(0xe4)],'usage':a8i(0xde),'examples':[a8i(0xe2),'maka\x20aws:ckp\x20--env\x20prod'],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':'Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','description':'\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'},async function(a,b){const j=a8i;try{const {aws:c}=this,d=this['cfg'][j(0xeb)](b['env']);c[j(0xea)]({'env':d});}catch(f){f&&Log['error'](f),process['exit'](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x1be;let f=c[d];return f;},a9d(a,b);}const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x1db))/0x1+-parseInt(m(0x1d3))/0x2*(parseInt(m(0x1c3))/0x3)+parseInt(m(0x1d0))/0x4+parseInt(m(0x1c5))/0x5*(-parseInt(m(0x1c1))/0x6)+-parseInt(m(0x1d9))/0x7*(parseInt(m(0x1cd))/0x8)+-parseInt(m(0x1cf))/0x9*(parseInt(m(0x1c8))/0xa)+parseInt(m(0x1d1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x95660));const a9b=(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;};}()),a9a=a9b(this,function(){const n=a9d;return a9a[n(0x1d4)]()[n(0x1c0)](n(0x1d8))[n(0x1d4)]()['constructor'](a9a)[n(0x1c0)](n(0x1d8));});function a9c(){const q=['9876krXMXo','create','forEach','search','3889902jXBgJk','name','3uORIrc','chooseVPC','5RhcMqF','Web\x20App','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','250KtiILr','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','exit','maka\x20aws\x20create-security-group','ec2createSG','288yahdrH','maka\x20aws:create-secuirty-group','211779KGFkXA','641200loBtpP','29538861eENXiM','ask','1380902oleKKB','toString','Security\x20Group\x20Name:\x20[','maka\x20aws:csg','22,80,443','(((.+)+)+)+$','61551QMkFFE','error'];a9c=function(){return q;};return a9c();}a9a();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[a9o(0x1be)]({'name':'create-security-group','aliases':['csg'],'usage':a9o(0x1cb),'validOpts':[],'shortDesc':a9o(0x1c7),'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':[a9o(0x1ce),a9o(0x1d6)]},async function(a,b){const p=a9o,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[p(0x1c4)](),h=b[p(0x1c2)]?b[p(0x1c2)]:''+f,i=await Actions['ask'](p(0x1d5)+h+']')||h,j=await Actions[p(0x1d2)](p(0x1c9))||p(0x1d7),k=j['split'](',');k[p(0x1bf)](l=>{if(!l['match'](/^\d+$/))throw'List\x20is\x20not\x20all\x20numbers';}),await d[p(0x1cc)]({'description':p(0x1c6),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[p(0x1da)](l),process[p(0x1ca)](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a10c(){const k=['
|
|
1
|
+
function a10c(){const k=['ecrDeleteRepository','\x20deleted\x20successfully\x20in\x20region\x20','exit','apply','error','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','1238224VjhuVI','1559719mUMOly','constructor','create','92790Qslfxq','region','Failed\x20to\x20delete\x20the\x20repository:\x20','.\x20Error:\x20','decr','search','6220HLBmQq','10MsMOvN','2250CERCcz','delete-ecr','Delete\x20an\x20Elastic\x20Container\x20Repository','952500GGnxYY','Repository\x20','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','3HcymcP','9167477zAwfPC','126931DPNgLw','name','2VnnPeN','(((.+)+)+)+$'];a10c=function(){return k;};return a10c();}const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x1cb))/0x1*(-parseInt(f(0x1cd))/0x2)+parseInt(f(0x1c9))/0x3*(parseInt(f(0x1c6))/0x4)+parseInt(f(0x1c1))/0x5*(-parseInt(f(0x1c3))/0x6)+-parseInt(f(0x1b8))/0x7+-parseInt(f(0x1b7))/0x8+parseInt(f(0x1bb))/0x9+parseInt(f(0x1c2))/0xa*(parseInt(f(0x1ca))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x59086));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()[h(0x1c0)](h(0x1ce))['toString']()[h(0x1b9)](a10a)[h(0x1c0)](h(0x1ce));});a10a();import a10e from'./aws.command.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1b1;let f=c[d];return f;},a10d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x1ba)]({'name':a10i(0x1c4),'aliases':[a10i(0x1bf)],'usage':a10i(0x1b6),'requiredOpts':[a10i(0x1cc),a10i(0x1bc)],'validOpts':[],'shortDesc':a10i(0x1c5),'examples':[a10i(0x1b5),a10i(0x1c8)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x1cf)]({'repoName':b[j(0x1cc)],'region':b[j(0x1bc)]}),Log['success'](j(0x1c7)+b[j(0x1cc)]+j(0x1b1)+b[j(0x1bc)]+'.'),process['exit'](0x0);}catch(d){Log[j(0x1b4)](j(0x1bd)+b[j(0x1cc)]+'\x20in\x20region\x20'+b[j(0x1bc)]+j(0x1be)+d),process[j(0x1b2)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=-parseInt(f(0x1cb))/0x1+parseInt(f(0x1d3))/0x2+parseInt(f(0x1c9))/0x3*(parseInt(f(0x1d1))/0x4)+-parseInt(f(0x1cc))/0x5*(parseInt(f(0x1c8))/0x6)+-parseInt(f(0x1da))/0x7+-parseInt(f(0x1d5))/0x8+parseInt(f(0x1d6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x88c99));function a11c(){const k=['create','348281LKzuVE','5tHDXXR','maka\x20aws:describe-instances','search','describe-instances','maka\x20aws:di','6676CFhYbR','ec2describeInstances','1969790egazYZ','toString','4690208qOCVsd','7130295dZJsCc','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','(((.+)+)+)+$','exit','5842690enDlvF','apply','error','2524014PHyqyC','1749WsdwIe'];a11c=function(){return k;};return a11c();}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x1d4)]()[h(0x1ce)](h(0x1d8))[h(0x1d4)]()['constructor'](a11a)['search'](h(0x1d8));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a11d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a11i(0x1ca)]({'name':a11i(0x1cf),'aliases':['di'],'usage':a11i(0x1cd),'validOpts':[],'shortDesc':a11i(0x1d7),'examples':[a11i(0x1cd),a11i(0x1d0)],'description':'\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'},async function(){const j=a11i;try{const {aws:a}=this;a[j(0x1d2)]();}catch(b){b&&Log[j(0x1dc)](b),process[j(0x1d9)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12h=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0x80))/0x1*(-parseInt(f(0x84))/0x2)+parseInt(f(0x85))/0x3*(parseInt(f(0x89))/0x4)+parseInt(f(0x90))/0x5+-parseInt(f(0x8c))/0x6*(-parseInt(f(0x82))/0x7)+-parseInt(f(0x83))/0x8+-parseInt(f(0x8f))/0x9+parseInt(f(0x8e))/0xa*(-parseInt(f(0x7f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xe708c));var a12b=(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;};}()),a12a=a12b(this,function(){var g=a12d;return a12a[g(0x86)]()[g(0x93)](g(0x81))[g(0x86)]()['constructor'](a12a)['search'](g(0x81));});a12a();import a12e from'./aws.command.js';function a12c(){var j=['search','ec2describeKeys','describe-key-pairs','1782xzAirZ','214TtYdOA','(((.+)+)+)+$','245wXqNBB','12043568UKEIeG','390fUDzfS','27XcLdlJ','toString','dkp','error','756108JOablj','exit','maka\x20aws:dkp','131466WMBpBf','maka\x20aws:describe-key-pairs','26050oPPwEK','2906091AvaCJZ','3851365fvkgCk','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','aws'];a12c=function(){return j;};return a12c();}function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x7d;var f=c[d];return f;},a12d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12h(0x7e),'aliases':[a12h(0x87)],'usage':'maka\x20aws:describe-key-pairs','validOpts':[],'shortDesc':a12h(0x91),'examples':[a12h(0x8d),a12h(0x8b)]},async function(){var i=a12h;try{this[i(0x92)][i(0x7d)]();}catch(a){a&&Log[i(0x88)](a),process[i(0x8a)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a13m=a13d;function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0xa4;let f=c[d];return f;},a13d(a,b);}(function(a,b){const j=a13d,c=a();while(!![]){try{const d=-parseInt(j(0xa7))/0x1+parseInt(j(0xc6))/0x2+parseInt(j(0xac))/0x3*(-parseInt(j(0xb0))/0x4)+-parseInt(j(0xbb))/0x5*(parseInt(j(0xba))/0x6)+parseInt(j(0xbf))/0x7*(-parseInt(j(0xb9))/0x8)+-parseInt(j(0xa4))/0x9*(parseInt(j(0xb6))/0xa)+-parseInt(j(0xa9))/0xb*(-parseInt(j(0xaf))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0xaaaec));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0xb2)]()[l(0xb1)](l(0xa8))[l(0xb2)]()[l(0xbc)](a13a)[l(0xb1)](l(0xa8));});function a13c(){const q=['forEach','ask','dsg','error','maka\x20aws:delete-sg','name','1938154UpejGA','Deleted\x20','includes','4041zvKFmb','delete-security-group','Deleting\x20a\x20','816908FfyXIA','(((.+)+)+)+$','19829876sJFXso','create','\x20SGID:\x20','37134isxDZk','confirm','\x20SG\x20NAME:\x20','12okigSd','16SRQDzW','search','toString','sgId','notice','apply','4470wbCdvJ','ID:\x20','getSecurityGroups','57928msifKV','757470ksUbkg','10ZfOJeR','constructor','exit','Not\x20deleting\x20secuirty\x20group','728BuCapC'];a13c=function(){return q;};return a13c();}a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a13m(0xaa)]({'name':a13m(0xa5),'aliases':[a13m(0xc2)],'usage':a13m(0xc4),'mustBeInMakaProject':!![],'validOpts':[],'shortDesc':'Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','examples':[a13m(0xc4),'maka\x20aws:dsg']},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a['appName'];const {sgList:d}=await b[n(0xb8)]();d['forEach'](function(i){const o=n;i[o(0xc5)][o(0xc8)](c)?Log[o(0xb4)](o(0xb7)+i['id']+o(0xae)+i[o(0xc5)]+'\x20SGID:\x20'+i[o(0xb3)]):Log['bright'](o(0xb7)+i['id']+o(0xae)+i[o(0xc5)]+o(0xab)+i[o(0xb3)]);});let f='';const g=await Actions[n(0xc1)]('Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:');d[n(0xc0)](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0xb3)]);});if(!f)throw Log[n(0xc3)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const h=await Actions[n(0xad)](n(0xa6)+f+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);h?(await b['deleteSecurityGroup'](f),Log['success'](n(0xc7)+f)):Log['error'](n(0xbe)),process[n(0xbd)](0x0);}catch(i){i&&Log[n(0xc3)](i),process[n(0xbd)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a14d(a,b);}const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x1f9))/0x1*(parseInt(f(0x208))/0x2)+-parseInt(f(0x1fb))/0x3+-parseInt(f(0x203))/0x4+-parseInt(f(0x1fc))/0x5+-parseInt(f(0x209))/0x6+parseInt(f(0x207))/0x7+parseInt(f(0x1f5))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x233f3));function a14c(){const k=['1220107CowDxD','2MTzIcK','1013604JitJnn','listAllEcrRepositories','create','maka\x20aws:list-ecr','4405328VHopBc','(((.+)+)+)+$','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','47951sItjkL','toString','475563hQDgSh','571135YuLwJP','regions','list-ecr','success','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','search','maka\x20aws:lecr\x20--regions=all','363852oGITSy','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','apply','exit'];a14c=function(){return k;};return a14c();}const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x1fa)]()[h(0x201)](h(0x1f6))[h(0x1fa)]()['constructor'](a14a)['search'](h(0x1f6));});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a14i(0x20b)]({'name':a14i(0x1fe),'aliases':['lecr'],'usage':a14i(0x204),'requiredOpts':[],'validOpts':[a14i(0x1fd)],'shortDesc':a14i(0x200),'examples':[a14i(0x1f4),a14i(0x1f8),a14i(0x202)]},async function(a,b){const j=a14i;try{const {aws:c}=this;await c[j(0x20a)](b[j(0x1fd)]),Log[j(0x1ff)]('Completed\x20listing\x20ECR\x20repositories.'),process['exit'](0x0);}catch(d){Log['error'](j(0x1f7)+d),process[j(0x206)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0x95))/0x1+parseInt(f(0x9c))/0x2+parseInt(f(0x8a))/0x3*(-parseInt(f(0x8c))/0x4)+parseInt(f(0x9f))/0x5+parseInt(f(0x88))/0x6+parseInt(f(0xa1))/0x7*(-parseInt(f(0x9e))/0x8)+-parseInt(f(0x89))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x45ccd));function a15c(){const k=['413452lNcDLs','(((.+)+)+)+$','40560kLAXWk','804525HdftEO','apply','63DyvsSm','toString','chooseInstance','\x20is\x20still\x20running.','search','name','1491768Wadbnm','1213110JsUtgv','33756bJgvHw','ec2rebootInstance','44fYwGZS','Reboot\x20an\x20EC2\x20instance','exit','reboot-instance','confirm','instanceId','rbi','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','error','26166hGellY','maka\x20aws:rbi','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','create','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','constructor','\x20Ready?'];a15c=function(){return k;};return a15c();}const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0xa2)]()[h(0xa5)](h(0x9d))[h(0xa2)]()[h(0x9a)](a15a)['search']('(((.+)+)+)+$');});a15a();import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x88;let f=c[d];return f;},a15d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a15i(0x98)]({'name':a15i(0x8f),'aliases':[a15i(0x92)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15i(0x8d),'examples':['maka\x20aws:reboot-instance',a15i(0x96)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a[j(0xa3)]();if(b?.['status']==='running'){const c=await Actions[j(0x90)](j(0x93)+b['name']+j(0x9b));c&&b['instanceId']?a[j(0x8b)]({'instanceId':b[j(0x91)]}):Log[j(0x94)](j(0x99)+b[j(0xa6)]+j(0xa4));}else Log[j(0x94)](j(0x97));}catch(d){d&&Log[j(0x94)](d),process[j(0x8e)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0x8d))/0x1+-parseInt(F(0x8c))/0x2*(-parseInt(F(0xb6))/0x3)+parseInt(F(0xa5))/0x4+-parseInt(F(0x9f))/0x5*(parseInt(F(0xc1))/0x6)+parseInt(F(0x7f))/0x7*(-parseInt(F(0x98))/0x8)+-parseInt(F(0x8e))/0x9+parseInt(F(0x99))/0xa*(parseInt(F(0xb4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x35569));function a16c(){const L=['mail@example.com','search','15874xjrKLy','374406XGQjpf','2680425oxmkqP','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','City\x20[Honolulu]:\x20','COMPANY','create','ask','toString','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','rdn','1825352pYJgOh','1150WgxxYr','exit','Address\x20Line\x202:\x20','Are\x20you\x20sure?','\x20years\x20(','PUBLIC_BODY','184340NEqfic','96816','Auto\x20Renew:\x20','Contact','maka\x20aws:rdn\x20--domain=example.com','ASSOCIATION','108196eOUYRk','+1.5555555556','values','\x20is\x20available\x20for:','\x20/\x20Year)','Zip\x20Code\x20[96816]:\x20','Domain\x20name\x20is\x20unavailable','error','Do\x20you\x20wish\x20to\x20register\x20','PERSON','Duration\x20in\x20years\x20[1]:\x20','domain','select','Invalid\x202\x20character\x20country\x20code','Contact\x20First\x20Name\x20[Contact]:\x20','117733pNuPzA','My\x20Company,\x20LLC.','45ckJnUq','notice','Honolulu','warn','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','Contact\x20Email\x20[mail@example.com]:\x20','123\x20Glorious\x20Way','Country\x20Code\x20[US]:\x20','+1.5555555555','RESELLER','42UVajXK','7gwvdYu','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','register-domain-name','checkDomainAvailability','Choose\x20contact\x20type','The\x20domain\x20name:\x20','apply','registerDomain','(((.+)+)+)+$','\x20for\x20','confirm'];a16c=function(){return L;};return a16c();}const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x85)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a[H(0x94)]()[H(0x8b)](H(0x87))[H(0x94)]()['constructor'](a16a)['search'](H(0x87));});function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x7f;let f=c[d];return f;},a16d(a,b);}a16a();import a16e 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';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const I=a16d;return Object[I(0xa7)](CountryCode)['includes'](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16J(0x92)]({'name':a16J(0x81),'aliases':[a16J(0x97)],'usage':'maka\x20aws:register-domain-name','requiredOpts':[a16J(0xb0)],'validOpts':[],'shortDesc':a16J(0x96),'examples':['maka\x20aws:register-domain-name\x20--domain=example.com',a16J(0xa3)]},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b[K(0xb0)],{available:f,cost:g}=await c[K(0x82)](d);if(f&&g){Log[K(0xb7)](K(0x84)+d+K(0xa8));const {Price:h,Currency:i}=g;Log[K(0xb9)]('\x20\x20'+h+'\x20'+i+'\x20/\x20Year\x20\x0a');const j=await Actions[K(0x89)](K(0xad)+d+'?',![]);if(j){const k={'message':K(0x83),'name':'contactType','choices':[{'name':K(0xa4),'value':'ASSOCIATION'},{'name':K(0x91),'value':K(0x91)},{'name':K(0xae),'value':'PERSON'},{'name':K(0x9e),'value':'PUBLIC_BODY'},{'name':K(0xc0),'value':K(0xc0)}]},l=await Actions['ask'](K(0xaf))||'1',m=await Actions[K(0x93)](K(0xb3))||K(0xa2),n=await Actions[K(0x93)]('Contact\x20Last\x20Name\x20[Person]:\x20')||'Person',o=await Actions[K(0xb1)](k),p=await Actions[K(0x93)](K(0xbb))||K(0xbd),q=await Actions[K(0x93)](K(0x9b)),r=await Actions[K(0x93)](K(0x90))||K(0xb8),s=await Actions[K(0x93)](K(0xaa))||K(0xa0),t=await Actions[K(0x93)]('State\x20[HI]:\x20')||'HI',u=await Actions[K(0x93)](K(0xbe))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0xac)](K(0xb2));const w=await Actions[K(0x93)](K(0xba))||K(0xbf),x=await Actions['ask'](K(0x95))||K(0xa6),y=await Actions[K(0x93)](K(0xbc))||K(0x8a),z=await Actions[K(0x89)](K(0xa1)),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!==K(0xae)){const D=await Actions[K(0x93)](K(0x8f))||K(0xb5);A['OrganizationName']=D;}const B=h||0x0*parseInt(l);Log[K(0xb7)](K(0x80)),Log[K(0xb9)](B+'\x20'+i+K(0x88)+l+K(0x9d)+h+'\x20'+i+K(0xa9));const C=await Actions[K(0x89)](K(0x9c));C&&await c[K(0x86)](A,d,parseInt(l),z);}}else throw K(0xab);}catch(E){E&&Log[K(0xac)](E),process[K(0x9a)](0x0);}},a16e);
|