@maka/maka-cli 5.0.44 → 5.1.1
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 +30 -26
- 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/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.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/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/package.json +30 -26
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.1",
|
|
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.",
|
|
@@ -34,24 +34,24 @@
|
|
|
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.
|
|
37
|
+
"@aws-sdk/client-ec2": "^3.683.0",
|
|
38
|
+
"@aws-sdk/client-ecr": "^3.682.0",
|
|
39
|
+
"@aws-sdk/client-route-53": "^3.683.0",
|
|
40
|
+
"@aws-sdk/client-route-53-domains": "^3.682.0",
|
|
41
41
|
"@babel/eslint-parser": "^7.25.9",
|
|
42
|
-
"@inquirer/prompts": "^
|
|
42
|
+
"@inquirer/prompts": "^7.0.1",
|
|
43
43
|
"@maka/tar": "^6.2.2",
|
|
44
44
|
"blessed": "^0.1.81",
|
|
45
45
|
"change-case": "^5.4.4",
|
|
46
46
|
"cli-color": "^2.0.4",
|
|
47
47
|
"cli-cursor": "^5.0.0",
|
|
48
48
|
"cli-table": "^0.3.11",
|
|
49
|
-
"date-fns": "^
|
|
49
|
+
"date-fns": "^4.1.0",
|
|
50
50
|
"delete": "github:maka-io/delete",
|
|
51
51
|
"dotenv": "^16.4.5",
|
|
52
52
|
"ejs": "^3.1.10",
|
|
53
53
|
"elegant-spinner": "^3.0.0",
|
|
54
|
-
"eslint": "^9.
|
|
54
|
+
"eslint": "^9.13.0",
|
|
55
55
|
"http-proxy": "^1.18.1",
|
|
56
56
|
"humps": "^2.0.1",
|
|
57
57
|
"husky": "^9.1.6",
|
|
@@ -67,15 +67,15 @@
|
|
|
67
67
|
"slash": "^5.1.0",
|
|
68
68
|
"spawn-args": "0.2.0",
|
|
69
69
|
"tar": "^7.4.3",
|
|
70
|
-
"type-fest": "^4.
|
|
71
|
-
"uuid": "^
|
|
70
|
+
"type-fest": "^4.26.1",
|
|
71
|
+
"uuid": "^11.0.2",
|
|
72
72
|
"xtend": "^4.0.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
-
"@aws-sdk/types": "^3.
|
|
76
|
-
"@eslint/js": "^9.
|
|
75
|
+
"@aws-sdk/types": "^3.679.0",
|
|
76
|
+
"@eslint/js": "^9.13.0",
|
|
77
77
|
"@types/blessed": "^0.1.25",
|
|
78
|
-
"@types/chai": "^
|
|
78
|
+
"@types/chai": "^5.0.1",
|
|
79
79
|
"@types/cli-color": "^2.0.6",
|
|
80
80
|
"@types/cli-table": "^0.3.4",
|
|
81
81
|
"@types/ejs": "^3.1.5",
|
|
@@ -84,28 +84,32 @@
|
|
|
84
84
|
"@types/humps": "^2.0.6",
|
|
85
85
|
"@types/inquirer": "^9.0.7",
|
|
86
86
|
"@types/jest": "^29.5.14",
|
|
87
|
-
"@types/jsonwebtoken": "^9.0.
|
|
87
|
+
"@types/jsonwebtoken": "^9.0.7",
|
|
88
88
|
"@types/meteor": "^2.9.8",
|
|
89
89
|
"@types/minimist": "^1.2.5",
|
|
90
|
-
"@types/node": "^22.5
|
|
91
|
-
"@types/react": "^18.3.
|
|
92
|
-
"@types/react-dom": "^18.3.
|
|
90
|
+
"@types/node": "^22.8.5",
|
|
91
|
+
"@types/react": "^18.3.12",
|
|
92
|
+
"@types/react-dom": "^18.3.1",
|
|
93
93
|
"@types/uuid": "^10.0.0",
|
|
94
|
-
"aws-sdk": "^2.
|
|
95
|
-
"chai": "^5.1.
|
|
94
|
+
"aws-sdk": "^2.1691.0",
|
|
95
|
+
"chai": "^5.1.2",
|
|
96
96
|
"chdir": "^0.0.0",
|
|
97
97
|
"concat-stream": "^2.0.0",
|
|
98
|
-
"concurrently": "^
|
|
99
|
-
"esbuild": "^0.
|
|
100
|
-
"globals": "^15.
|
|
98
|
+
"concurrently": "^9.0.1",
|
|
99
|
+
"esbuild": "^0.24.0",
|
|
100
|
+
"globals": "^15.11.0",
|
|
101
101
|
"javascript-obfuscator": "^4.1.1",
|
|
102
102
|
"mkdirp": "^3.0.1",
|
|
103
103
|
"ts-jest": "^29.2.5",
|
|
104
|
-
"typescript": "^5.
|
|
105
|
-
"typescript-eslint": "^8.2
|
|
106
|
-
"wait-on": "^8.0.
|
|
104
|
+
"typescript": "^5.6.3",
|
|
105
|
+
"typescript-eslint": "^8.12.2",
|
|
106
|
+
"wait-on": "^8.0.1"
|
|
107
107
|
},
|
|
108
108
|
"engines": {
|
|
109
|
-
"node": ">=
|
|
109
|
+
"node": ">=20.10.0",
|
|
110
|
+
"npm": ">=10.2.3"
|
|
111
|
+
},
|
|
112
|
+
"overrides": {
|
|
113
|
+
"glob": "11.0.0"
|
|
110
114
|
}
|
|
111
115
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0r=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d
|
|
1
|
+
const a0r=a0d;function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xe9;let f=c[d];return f;},a0d(a,b);}(function(a,b){const n=a0d,c=a();while(!![]){try{const d=-parseInt(n(0x108))/0x1*(-parseInt(n(0x123))/0x2)+parseInt(n(0x107))/0x3*(-parseInt(n(0x12a))/0x4)+parseInt(n(0x104))/0x5+parseInt(n(0xf2))/0x6*(parseInt(n(0x11d))/0x7)+parseInt(n(0x106))/0x8+parseInt(n(0xeb))/0x9+-parseInt(n(0xe9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x40b53));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x109)]()[p(0x13a)](p(0x10b))[p(0x109)]()[p(0x13e)](a0a)[p(0x13a)](p(0x10b));});function a0c(){const B=['generate','7klirRM','murder','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','_handler','length','match','54PllHaI','invoke','Too\x20many\x20options','addCommand','Command\x20','play','getMakaProjectConfig','20offuUI','Command\x20requires\x20a\x20handler\x20function','exit','Too\x20few\x20arguments','Sub-Commands:','function','shortDesc','options','maybeProxyCommandToMeteor','keys','push','\x20not\x20found','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','number','Please\x20run\x20\x22maka\x20install\x20meteor\x22','localeCompare','search','minOptsLength','cfg','assign','constructor','name','pallet','490300SrHvnN','apply','4193919cXIIqe','light','mustHaveMeteorInstalled','bright','DARK','validateMakaProject','minArgLength','55782xTafTn','maxOptsLength','Description','Command\x20format\x20is\x20incorrect','Too\x20few\x20options','Name','join','_commands','bind','Command.create\x20requires\x20a\x20handler\x20function!','projectConfig','tableList','getGlobalConfig','split','call','run','LIGHT','error','563745BhFfny','Command\x20requires\x20a\x20name','501952HVaaaT','283041BJDKxQ','5001ZeXInD','toString','create','(((.+)+)+)+$','addCommand\x20requires\x20a\x20Command\x20instance','cwd','chdir','setColorMode','help','unshift','validateMeteorInstall','find','maxArgLength','notice','Alias','usage','There\x20is\x20no\x20Meteor\x20application\x20here','Please\x20run\x20\x22maka\x20login\x22','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','aliases'];a0c=function(){return B;};return a0c();}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='';async function inside(a='.',b){const q=a0d,c=process[q(0x10d)]();try{return process[q(0x10e)](a),await b();}finally{process[q(0x10e)](c);}}export class Command extends Tool{[a0r(0x131)];[a0r(0xfc)];['_commands'];[a0r(0x120)];constructor(a,b){const s=a0r;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[s(0x13f)])throw new Error(s(0x105));if(typeof b!=='function')throw new Error(s(0x12b));this[s(0x131)]=Object[s(0x13d)]({},a),this['name']=this['options'][s(0x13f)],this[s(0xf9)]=[],this[s(0x120)]=b[s(0xfa)](this);}static[a0r(0x10a)](a,b,c){const t=a0r;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==t(0x12f))throw new Error(t(0xfb));const d=new Command(a,b);return c=c||a0f,Object[t(0x13d)](d,{'parent':c?.['options']?.[t(0x13f)]}),c[t(0x126)](d),d;}[a0r(0x126)](a){const u=a0r;if(!(a instanceof Command))throw new Error(u(0x10c));this[u(0xf9)][u(0x134)](a);}async[a0r(0x101)](a,b){const v=a0r;try{a=a||[],b=b||{};try{const c=await this[v(0x13c)][v(0xfe)](),d=c[v(0x140)]===v(0xec)?ColorMode[v(0x102)]:ColorMode[v(0xef)];Log[v(0x10f)](d);}catch(f){Log[v(0x103)](f),process[v(0x12c)](0x0);}return await inside(b[v(0x10d)],async()=>{return await this['invoke'](a,b);});}catch(g){process[v(0x12c)](0x1);}}async[a0r(0x124)](a,b){const w=a0r,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[w(0x131)];try{if(this['options'][w(0x13f)]!==w(0x11c)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[w(0x121)]===0x0)&&this[w(0xf9)][w(0x121)]>=0x0,h=b[w(0x110)]||b['h'];if(g&&h){if(this[w(0xf9)][w(0x121)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[w(0x131)]['mustBeInMakaProject']){const i=this[w(0xf0)]();if(!i)throw new MustBeInProjectError();this['projectConfig']=this[w(0x13c)][w(0x129)]();}if(this[w(0x131)]['mustBeLoggedIn']){const j=await this['validateUserIsLoggedIn']();if(!j)throw new MustBeLoggedIn();}if(this[w(0x131)][w(0xed)]){const k=this[w(0x112)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[w(0x131)][w(0xf1)]==='number'){if(a['length']<this[w(0x131)][w(0xf1)]){Log[w(0x103)](w(0x12d));throw new UsageError();}}if(typeof this[w(0x131)]['maxArgLength']==='number'){if(a['length']>=this[w(0x131)][w(0x114)]){Log[w(0x103)]('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[w(0x131)][w(0x13b)]===w(0x137)){if(Object[w(0x133)](b)[w(0x121)]<this[w(0x131)][w(0x13b)]){Log[w(0x103)](w(0xf6));throw new UsageError();}}if(typeof this[w(0x131)][w(0xf3)]==='number'){if(Object[w(0x133)](b)[w(0x121)]>=this[w(0x131)][w(0xf3)]){Log[w(0x103)](w(0x125));throw new UsageError();}}}}b=await this['validateParams'](a,b,this[w(0x131)]),_prevCmd=a[0x0];}return await this['_handler'][w(0x100)](this,a,b);}catch(l){Log[w(0x117)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[w(0x115)](w(0x12e)),this[w(0xfd)](this[w(0xf9)]),Log['header'](w(0x11f));else{if(l instanceof MustBeInProjectError)Log['error'](w(0x136));else{if(l instanceof NoMeteorFoundError)Log[w(0x103)]('Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'),Log[w(0x115)](w(0x138));else{if(l instanceof NoMeteorAppFoundError)Log[w(0x103)](w(0x118));else l instanceof MustBeLoggedIn&&(Log['error'](w(0x11a)),Log[w(0x115)](w(0x119)));}}}process[w(0x12c)](0x1);}}[a0r(0xfd)](a){const x=a0r,b=new a0e({});b['push']([x(0xf7),x(0x116),x(0xf4)]),a['sort']((c,d)=>{const y=x;return c[y(0x13f)][y(0x139)](d[y(0x13f)]);})['forEach'](c=>{const z=x;if(c[z(0x13f)]!==z(0x11e)&&c[z(0x13f)]!==z(0x128)){const d=c['experimental'](),e=d?'(experimental)\x20'+c[z(0x130)]():c[z(0x130)]();b[z(0x134)]([c[z(0x13f)],c[z(0x11b)](),e]);}}),Log[x(0xee)](b['toString']());}async['processAndRunCommand'](a,b=[],c={}){const A=a0r;try{const d=a?.[A(0xff)](':');if(!d||d['length']===0x0)throw A(0xf5);if(d[0x0]===A(0x11c)||d[0x0]==='g'&&d[A(0x121)]>0x1){const h=this[A(0xf9)][A(0x113)](j=>j[A(0x122)](A(0x11c)));if(!h)throw'Command\x20not\x20found';const i=d['slice'](0x1)[A(0xf8)](':');return b[A(0x111)](i),await h['run'](b,c);}let f=this[A(0xf9)],g;for(const j of d){g=f[A(0x113)](k=>k[A(0x122)](j));if(!g)try{await this['mpi'][A(0x132)]();}catch(k){throw A(0x127)+j+A(0x135);}g&&(f=g[A(0xf9)]);}if(g){const l=await g[A(0x101)](b,c);return l;}else throw'Command\x20not\x20found';}catch(m){Log[A(0x103)](m),process[A(0x12c)](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(0xd9))/0x1*(-parseInt(f(0xdd))/0x2)+parseInt(f(0xdb))/0x3+parseInt(f(0xd7))/0x4*(-parseInt(f(0xdf))/0x5)+parseInt(f(0xe2))/0x6*(parseInt(f(0xd8))/0x7)+-parseInt(f(0xe1))/0x8+parseInt(f(0xda))/0x9+parseInt(f(0xe3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x9760a));function a1c(){var i=['toString','38770dUKEPP','apply','7981960HcgyeA','42AlvlRA','10955400iXlSWQ','356izQbdU','241143BMmWpC','1zndaiy','6981354DZAAmF','1176345xHsZcn','search','393222XyCZRs'];a1c=function(){return i;};return a1c();}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a[h(0xde)]()[h(0xdc)]('(((.+)+)+)+$')[h(0xde)]()['constructor'](a1a)[h(0xdc)]('(((.+)+)+)+$');});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';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xd7;var f=c[d];return f;},a1d(a,b);}import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';import'./test/_index.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a2d(a,b);}const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0x1e9))/0x1*(parseInt(h(0x209))/0x2)+-parseInt(h(0x1ff))/0x3*(parseInt(h(0x201))/0x4)+parseInt(h(0x20b))/0x5+parseInt(h(0x1f5))/0x6*(-parseInt(h(0x1e4))/0x7)+parseInt(h(0x1f2))/0x8+parseInt(h(0x1e6))/0x9*(-parseInt(h(0x1e1))/0xa)+-parseInt(h(0x1ee))/0xb*(-parseInt(h(0x1f3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x3f4e6));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x1f6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a['toString']()[j(0x203)]('(((.+)+)+)+$')[j(0x1ef)]()[j(0x207)](a2a)['search'](j(0x205));});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(0x204)]({'input':process[k(0x1ec)],'output':process[k(0x1fa)]});c[k(0x1f1)](k(0x1e8),async d=>{const l=k;if(d[l(0x1e3)]()===l(0x206)){c[l(0x1eb)]();return;}try{const e=await HTTPS[l(0x208)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x1fd)](e['data']);if(f[l(0x1f8)])throw new Error(f[l(0x1f8)]['message']);Log[l(0x1e5)]('GPT:\x20'+f?.['choices'][0x0]?.[l(0x1fe)][l(0x1ed)]());}catch(g){Log[l(0x1f8)](g),process[l(0x206)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command['create']({'name':'ai','description':a2m(0x1f7),'validOpts':[a2m(0x1f4),a2m(0x1fb)],'shortDesc':a2m(0x1f7),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this[n(0x1e2)]['isFile'](b[n(0x1f4)])?(c=b[n(0x1f4)],Log['notice'](n(0x202)+c)):Log[n(0x1f8)](n(0x1f0)+c));const d=await this[n(0x20a)]['getGlobalConfig']();if(d[n(0x1f9)]){if(this[n(0x1e2)]['isFile'](d[n(0x1f9)]))c=d[n(0x1f9)];else throw Log[n(0x1f8)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b['openapikey'])f=b[n(0x1fb)],Log[n(0x1fc)](n(0x1ea)+f);else{if(d['openai'])f=d[n(0x1e7)];else throw Log[n(0x1f8)](n(0x200));}Log[n(0x1e5)]('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x1f8)](g),process[n(0x206)](0x1);}});function a2c(){const o=['15plBtdK','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','4124wHwynr','Using\x20CA\x20Cert\x20','search','createInterface','(((.+)+)+)+$','exit','constructor','askGPT','4JyoibC','cfg','1321610ebwTgq','50CpktcA','fsi','toLowerCase','62741gusqFe','bright','498141OyFQLa','openai','You:\x20','29649CBBhCx','Using\x20OpenAI\x20Key\x20','close','stdin','trim','92851jgkJtn','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','question','2765392HLMzVA','60OXOnYC','cacert','114Oiomxz','apply','ChatGPT\x20style\x20AI\x20interface','error','cert','stdout','openapikey','notice','parse','text'];a2c=function(){return o;};return a2c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0x146))/0x1*(-parseInt(f(0x13f))/0x2)+parseInt(f(0x143))/0x3*(parseInt(f(0x13b))/0x4)+parseInt(f(0x13c))/0x5*(-parseInt(f(0x145))/0x6)+-parseInt(f(0x13a))/0x7*(-parseInt(f(0x142))/0x8)+parseInt(f(0x139))/0x9*(parseInt(f(0x149))/0xa)+parseInt(f(0x138))/0xb*(-parseInt(f(0x144))/0xc)+-parseInt(f(0x13e))/0xd*(parseInt(f(0x147))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x94d83));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x148)]()[h(0x13d)](h(0x141))['toString']()[h(0x140)](a3a)[h(0x13d)]('(((.+)+)+)+$');});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';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';function a3c(){var i=['5612154bbEKDt','7FfIHtw','14rxervb','toString','140ztpoPa','apply','143bhEFCu','287082JWTWBw','1331533ChWPIe','4pjriYX','5mAXukA','search','7397923KspDJp','10238pQvSIQ','constructor','(((.+)+)+)+$','32fKjpdJ','3041205rGaFvd','65772FQiyDb'];a3c=function(){return i;};return a3c();}import'./sth.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x138;var f=c[d];return f;},a3d(a,b);}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(0xb5))/0x1+parseInt(f(0xa7))/0x2*(-parseInt(f(0xa8))/0x3)+-parseInt(f(0xb1))/0x4*(-parseInt(f(0xb4))/0x5)+parseInt(f(0xb3))/0x6+parseInt(f(0xaa))/0x7*(-parseInt(f(0xac))/0x8)+parseInt(f(0xa4))/0x9*(-parseInt(f(0xa5))/0xa)+parseInt(f(0xaf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x55b07));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0xa6)](h(0xab))[h(0xb2)]()['constructor'](a4a)['search'](h(0xab));});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';function a4c(){const j=['144114vkycLT','181715RKgOXe','18112cfbxSg','1390833bDrVcM','20FBEuWV','search','34814jxAfHS','87SKJwSH','create','3784767CQUVZS','(((.+)+)+)+$','8dEGFZi','aws','maka\x20aws:<sub-command>','13498925xyksRJ','apply','52jPIJrH','toString'];a4c=function(){return j;};return a4c();}function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0xa4;let f=c[d];return f;},a4d(a,b);}const AWSCommand=Command[a4i(0xa9)]({'name':a4i(0xad),'usage':a4i(0xae),'validOpts':[],'shortDesc':'Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','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
|
-
const
|
|
1
|
+
const a5h=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=parseInt(f(0xb2))/0x1*(parseInt(f(0xb3))/0x2)+parseInt(f(0xbc))/0x3+parseInt(f(0xc4))/0x4+parseInt(f(0xcc))/0x5+-parseInt(f(0xba))/0x6*(-parseInt(f(0xcb))/0x7)+-parseInt(f(0xb6))/0x8+parseInt(f(0xce))/0x9*(-parseInt(f(0xd0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xd7c59));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(0xca)]()['search'](g(0xbf))['toString']()[g(0xbe)](a5a)[g(0xc3)]('(((.+)+)+)+$');});function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0xb2;let f=c[d];return f;},a5d(a,b);}a5a();function a5c(){const j=['constructor','(((.+)+)+)+$','region','$metadata','exit','search','1484184PWZXBP','maka\x20aws:create-ecr','success','cecr','Repository\x20created\x20successfully.','create','toString','18809rESWyV','3916985PTDGRF','notice','9pVFfiE','ecrCreateRepository','17880130bwmiaF','8yUqyML','262338hEErLP','error','maka\x20aws:cecr\x20--name=my-new-repo','9308032AzQkro','aws','maka\x20aws:create-ecr\x20--name=my-new-repo','repositoryUri','426DFqrBu','Create\x20an\x20Elastic\x20Container\x20Repository','4322238enJyth','repository'];a5c=function(){return j;};return a5c();}import a5e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a5h(0xc9)]({'name':'create-ecr','aliases':[a5h(0xc7)],'usage':a5h(0xc5),'requiredOpts':['name'],'validOpts':[a5h(0xc0)],'shortDesc':a5h(0xbb),'examples':[a5h(0xb8),a5h(0xb5),'maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1']},async function(a,b){const i=a5h;try{const c=await this[i(0xb7)][i(0xcf)](b);c&&c[i(0xc1)]['httpStatusCode']===0xc8&&c['repository']?(Log[i(0xc6)](i(0xc8)),Log[i(0xcd)]('Repository\x20URI:\x20'+c[i(0xbd)][i(0xb9)])):Log[i(0xb4)]('Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.'),process['exit'](0x0);}catch(d){Log[i(0xb4)](d),process[i(0xc2)](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(0xdf))/0x1+parseInt(h(0xdb))/0x2+-parseInt(h(0xda))/0x3+parseInt(h(0xe4))/0x4*(-parseInt(h(0xd9))/0x5)+parseInt(h(0xd3))/0x6+parseInt(h(0xd0))/0x7*(-parseInt(h(0xdc))/0x8)+parseInt(h(0xe0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x9c174));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a[j(0xd6)]()['search']('(((.+)+)+)+$')[j(0xd6)]()['constructor'](a6a)[j(0xcd)](j(0xe2));});function a6c(){const m=['linkEC2ToRoute53','publicIp','search','route53CreateHostedZone','chooseInstance','38290rQsWEH','create','apply','5994348EgfRKM','chz','error','toString','domain','Set\x20hosted\x20zone\x20to\x20an\x20instance?','1351030aqwNMw','416592noSLHX','994714wFJxFF','48zgMCgm','maka\x20aws:create-hosted-zone\x20--domain=example.com','create-hosted-zone','1276484DeNnPh','7751763qpkrKD','Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','(((.+)+)+)+$','aws','4ESWQpz','maka\x20aws:create-hosted-zone'];a6c=function(){return m;};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-0xcd;let f=c[d];return f;},a6d(a,b);}Command[a6k(0xd1)]({'name':a6k(0xde),'aliases':[a6k(0xd4)],'usage':a6k(0xe5),'requiredOpts':[a6k(0xd7)],'validOpts':[],'shortDesc':a6k(0xe1),'examples':[a6k(0xdd),'maka\x20aws:chz\x20--domain=example.com']},async function(a,b){const l=a6k;try{const c=b[l(0xd7)];this[l(0xe3)][l(0xce)](c);const d=await Actions['confirm'](l(0xd8));if(d){const f=await this['aws'][l(0xcf)]();if(f?.['id']){if(!f['publicIp'])throw Log[l(0xd5)]('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');this[l(0xe3)][l(0xe6)](f['id'],f[l(0xe7)],c);}else throw'Instance\x20not\x20found';}}catch(g){g&&Log['error'](g),process['exit'](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7a1=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=parseInt(Y(0x120))/0x1*(-parseInt(Y(0x12c))/0x2)+parseInt(Y(0x111))/0x3+-parseInt(Y(0xf1))/0x4+parseInt(Y(0x106))/0x5+parseInt(Y(0x123))/0x6*(parseInt(Y(0x11a))/0x7)+parseInt(Y(0x117))/0x8+-parseInt(Y(0x131))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x5875b));const a7b=(function(){let a=!![];return function(b,c){const d=a?function(){const Z=a7d;if(c){const e=c[Z(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a7a=a7b(this,function(){const a0=a7d;return a7a[a0(0x114)]()[a0(0x12a)](a0(0xec))[a0(0x114)]()['constructor'](a7a)['search'](a0(0xec));});a7a();function a7c(){const a3=['listAvailableAMIs','user-data','5423808tvpVKg','22,80,443','readFileSync','2120468jwRysz','EC2\x20Name:\x20[','getSubnetCidr','chooseVPC','maka\x20aws:ci\x20--env\x20prod','bright','102617pxxuFu','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','env','12IokDfH','listAvailableSubnets','split','Instance\x20Count:\x20','Remove\x20the\x20keypair\x20','ec2describeKeys','Please\x20choose\x20a\x20key\x20to\x20use:\x20','search','\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','2RfZeIb','No\x20instance\x20has\x20been\x20created.','getEnvFromShorthand','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\x20new\x20AWS\x20instance','14609637QZIklL','1:1','Remove\x20the\x20security\x20group\x20','maka\x20aws:create-instance','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','confirm','Creating\x20user\x20data\x20file\x20in\x20','(((.+)+)+)+$','Name','**\x20Available\x20key-pairs\x20**','createFile','maka-cli','1208708HRNLoK','maka\x20aws:create-instance\x20--env\x20dev','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','apply','success','unlinkSync','created-by','notice','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','error','Security\x20Group:\x20','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','t3.micro','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.','getAppConfigPath','number','name','Setting\x20the\x20key-pair\x20to:\x20','fsi','Instace\x20Type:\x20','Would\x20you\x20like\x20to\x20include\x20user\x20data?','3053250aBqhVs','create','join','aws','ec2create','Subnet:\x20','Web\x20App','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','ImageID:','string','1487832OBlYDx','exit','ask','toString'];a7c=function(){return a3;};return a7c();}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';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xe7;let f=c[d];return f;},a7d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a7a1(0x107)]({'name':'create-instance','aliases':['ci'],'usage':a7a1(0xe8),'examples':[a7a1(0xf2),a7a1(0x11e)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a1(0x122)}],'validOpts':[],'shortDesc':a7a1(0x130),'description':a7a1(0x12b)},async function(a,b){const a2=a7a1;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a2(0x12e)](b['env']),i=f[a2(0xff)](h),j=g+'-'+h,k=await Actions['ask'](a2(0x11b)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a2(0xea)](a2(0x10d),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this['aws']['createKeyPair']({'env':h});r=y,s=z,Log[a2(0xf5)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[a2(0xf8)](a2(0xee));const A=r?r:k,B=await this['aws'][a2(0x128)]({'suggestion':A}),C=await Actions[a2(0x113)](a2(0x129))||'-1';if(parseInt(C)<0x0){Log[a2(0xfa)](a2(0x12f)),Log[a2(0xf8)](a2(0x12d));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a2(0x101)],Log[a2(0xf5)](a2(0x102)+r);break;}}}catch(E){Log['error'](E);}l=await this[a2(0x109)]['chooseVPC']();const t=await Actions[a2(0xea)](a2(0xf9),!![]);let u;if(t){const F=l===''?await this[a2(0x109)][a2(0x11d)]():l;u=await Actions['ask']('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions[a2(0x113)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||a2(0x118),H=G[a2(0x125)](',');await this[a2(0x109)]['ec2createSG']({'description':a2(0x10c),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a2(0x109)]['chooseSecurityGroup'](u),n=await this[a2(0x109)][a2(0x115)](),p=await this[a2(0x109)][a2(0x124)]();const v=0x1,w=0x1;try{const I=await Actions[a2(0x113)](a2(0xf3))||a2(0x132),J=I[a2(0x125)](':')[0x0],K=I[a2(0x125)](':')[0x1];typeof parseInt(J)===a2(0x100)&&typeof parseInt(K)===a2(0x100)&&Log[a2(0xf5)](a2(0x10e)+J+':'+K);}catch(L){Log[a2(0xfa)](L);}try{const M=await Actions[a2(0x113)](a2(0xe9))||a2(0xfd);typeof M===a2(0x110)&&(o=M);}catch(N){Log[a2(0xfa)](N);}let x='';try{const O=await Actions[a2(0xea)](a2(0x105),![]);O&&(x=a7f[a2(0x108)](i,a2(0x116)),Log[a2(0xf8)](a2(0xeb)+x),await this[a2(0x103)][a2(0xef)]({'filePath':x,'data':''}),await Actions[a2(0xea)](a2(0x121)));}catch(P){Log[a2(0xfa)](P);}try{const Q=await this[a2(0x109)][a2(0x11c)](p);Log[a2(0xf8)](a2(0x10f)+n),Log[a2(0xf8)](a2(0x126)+v+':'+w),Log[a2(0xf8)](a2(0x104)+o),Log['notice']('Key-Pair:\x20'+r),Log['notice'](a2(0xfb)+m),Log['notice'](a2(0x10b)+Q);if(x){Log['notice']('User\x20Data:'+x);const S=a7g[a2(0x119)](x)[a2(0x114)]();Log[a2(0xf8)](S);}const R=await Actions[a2(0xea)]('Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.');if(R){const T=await this['aws'][a2(0x10a)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a2(0xf7),'Value':a2(0xf0)},{'Key':'environment','Value':h},{'Key':a2(0xed),'Value':k}],...x&&{'userData':x}});T&&(Log[a2(0xf5)](a2(0xfe)),Log[a2(0x11f)](a2(0xfc)));}else{Log[a2(0xf8)]('ABORTED!\x20No\x20instance\x20has\x20been\x20created!');const U=await Actions[a2(0xea)](a2(0x127)+r+'\x20?',!![]);U&&(this['aws']['deleteKeyPair'](r),d['isFile'](s)&&a7g[a2(0xf6)](s));const V=await Actions[a2(0xea)](a2(0xe7)+m+'\x20?',!![]);V&&this[a2(0x109)]['deleteSecurityGroup'](m);}}catch(W){Log[a2(0xfa)](W);}}catch(X){X&&Log['error'](X),process[a2(0x112)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8j=a8d;function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a8d(a,b);}(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x209))/0x1+parseInt(g(0x204))/0x2*(parseInt(g(0x1fb))/0x3)+-parseInt(g(0x1f8))/0x4+parseInt(g(0x1f2))/0x5*(parseInt(g(0x1f4))/0x6)+-parseInt(g(0x1f0))/0x7+-parseInt(g(0x1ff))/0x8*(parseInt(g(0x208))/0x9)+parseInt(g(0x1f5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x9b4de));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x1fc)]()[i(0x1fd)](i(0x1f1))['toString']()['constructor'](a8a)[i(0x1fd)](i(0x1f1));});function a8c(){const l=['apply','6FlRGxZ','9794320kWgVbA','create','error','1110772ltyCBn','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','cfg','6RmeVcP','toString','search','maka\x20aws:ckp\x20--env\x20prod','43928bQdBRB','env','\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','create-key-pair','maka\x20aws:create-key-pair','486238GqSRGn','exit','getEnvFromShorthand','createKeyPair','630FiRBwV','371168UUyPga','1040802RyYfTp','(((.+)+)+)+$','1761865gpOZeT'];a8c=function(){return l;};return a8c();}a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x1f6)]({'name':a8j(0x202),'aliases':['ckp'],'usage':a8j(0x203),'examples':['maka\x20aws:create-key-pair\x20--env\x20prod',a8j(0x1fe)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x200)],'validOpts':[],'shortDesc':a8j(0x1f9),'description':a8j(0x201)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this[k(0x1fa)][k(0x206)](b[k(0x200)]);c[k(0x207)]({'env':d});}catch(f){f&&Log[k(0x1f7)](f),process[k(0x205)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x110))/0x1
|
|
1
|
+
const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x110))/0x1+parseInt(m(0x115))/0x2*(-parseInt(m(0xf9))/0x3)+-parseInt(m(0x10f))/0x4*(-parseInt(m(0x117))/0x5)+-parseInt(m(0x10c))/0x6+parseInt(m(0x10a))/0x7*(parseInt(m(0xfc))/0x8)+-parseInt(m(0x113))/0x9+parseInt(m(0x102))/0xa*(-parseInt(m(0x104))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x4fa6c));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['toString']()['search'](n(0x101))['toString']()[n(0xfa)](a9a)[n(0x114)](n(0x101));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0xf9;let f=c[d];return f;},a9d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';function a9c(){const r=['1001124tKSIkY','search','421606HdtdmL','csg','2528150RUQdGN','3WvLVVZ','constructor','ask','352nQtKcw','match','maka\x20aws:csg','forEach','List\x20is\x20not\x20all\x20numbers','(((.+)+)+)+$','5096530bUJOLn','ec2createSG','11vwYrsl','Security\x20Group\x20Name:\x20[','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','maka\x20aws:create-secuirty-group','\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','split','38787RlSlhC','name','502722xtSzdy','exit','create','4AoMJuN','492297dmOMaP','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','create-security-group'];a9c=function(){return r;};return a9c();}Command[a9o(0x10e)]({'name':a9o(0x112),'aliases':[a9o(0x116)],'usage':'maka\x20aws\x20create-security-group','validOpts':[],'shortDesc':a9o(0x111),'mustBeInMakaProject':!![],'description':a9o(0x108),'examples':[a9o(0x107),a9o(0xfe)]},async function(a,b){const p=a9o,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d['chooseVPC'](),h=b[p(0x10b)]?b[p(0x10b)]:''+f,i=await Actions['ask'](p(0x105)+h+']')||h,j=await Actions[p(0xfb)](p(0x106))||'22,80,443',k=j[p(0x109)](',');k[p(0xff)](l=>{const q=p;if(!l[q(0xfd)](/^\d+$/))throw q(0x100);}),await d[p(0x103)]({'description':'Web\x20App','name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process[p(0x10d)](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-
|
|
1
|
+
function a10c(){const k=['12dKaQkg','region','exit','5717IaEZmz','.\x20Error:\x20','create','2683392ixNoDu','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','Delete\x20an\x20Elastic\x20Container\x20Repository','Repository\x20','319953BGrJSI','ecrDeleteRepository','11ySZElJ','apply','name','5033457hDSlyu','20104GKMrxi','decr','5076516qsyhEt','delete-ecr','1346275kYJwAA','error','122YrKmOD','toString','search','\x20deleted\x20successfully\x20in\x20region\x20','Failed\x20to\x20delete\x20the\x20repository:\x20','20nZWOMA','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','3888uMumuE'];a10c=function(){return k;};return a10c();}const a10i=a10d;function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x122;let f=c[d];return f;},a10d(a,b);}(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x130))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x137))/0x3*(-parseInt(f(0x12d))/0x4)+parseInt(f(0x123))/0x5+parseInt(f(0x133))/0x6+-parseInt(f(0x13d))/0x7*(-parseInt(f(0x12c))/0x8)+-parseInt(f(0x13c))/0x9*(parseInt(f(0x12a))/0xa)+-parseInt(f(0x139))/0xb*(-parseInt(f(0x13f))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xb6a36));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()[h(0x127)]('(((.+)+)+)+$')[h(0x126)]()['constructor'](a10a)[h(0x127)]('(((.+)+)+)+$');});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x132)]({'name':a10i(0x122),'aliases':[a10i(0x13e)],'usage':a10i(0x12b),'requiredOpts':[a10i(0x13b),a10i(0x12e)],'validOpts':[],'shortDesc':a10i(0x135),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10i(0x134)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x138)]({'repoName':b[j(0x13b)],'region':b[j(0x12e)]}),Log['success'](j(0x136)+b['name']+j(0x128)+b[j(0x12e)]+'.'),process['exit'](0x0);}catch(d){Log[j(0x124)](j(0x129)+b[j(0x13b)]+'\x20in\x20region\x20'+b[j(0x12e)]+j(0x131)+d),process[j(0x12f)](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(0x102))/0x1*(-parseInt(f(0x108))/0x2)+parseInt(f(0x101))/0x3*(parseInt(f(0x113))/0x4)+parseInt(f(0x109))/0x5+-parseInt(f(0xfc))/0x6*(-parseInt(f(0x104))/0x7)+parseInt(f(0x100))/0x8+parseInt(f(0x103))/0x9*(parseInt(f(0xfd))/0xa)+-parseInt(f(0x10c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xa0f06));function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xfc;let f=c[d];return f;},a11d(a,b);}const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0xfe)]()[h(0x110)](h(0x105))[h(0xfe)]()[h(0xff)](a11a)[h(0x110)](h(0x105));});a11a();function a11c(){const k=['apply','2mOZGuL','2330170VSdSQA','maka\x20aws:describe-instances','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','19462399AxdLkk','ec2describeInstances','\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','exit','search','describe-instances','create','21164kmXdGj','59004UuhKle','229430TEvspe','toString','constructor','3603624lkbTck','207LLhmED','773866lHiJcr','279WBottl','861RgGvnW','(((.+)+)+)+$','maka\x20aws:di'];a11c=function(){return k;};return a11c();}import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x112)]({'name':a11i(0x111),'aliases':['di'],'usage':a11i(0x10a),'validOpts':[],'shortDesc':a11i(0x10b),'examples':[a11i(0x10a),a11i(0x106)],'description':a11i(0x10e)},async function(){const j=a11i;try{const {aws:a}=this;a[j(0x10d)]();}catch(b){b&&Log['error'](b),process[j(0x10f)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12i=a12d;function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x10a;var f=c[d];return f;},a12d(a,b);}(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(0x118))/0x1*(parseInt(f(0x10b))/0x2)+-parseInt(f(0x10d))/0x3*(-parseInt(f(0x111))/0x4)+parseInt(f(0x112))/0x5*(parseInt(f(0x11a))/0x6)+-parseInt(f(0x110))/0x7+parseInt(f(0x116))/0x8+parseInt(f(0x119))/0x9+parseInt(f(0x113))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x23665));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a[h(0x10f)]()[h(0x117)](h(0x10c))[h(0x10f)]()['constructor'](a12a)[h(0x117)](h(0x10c));});function a12c(){var k=['44qmlRGM','2025ZrZUHm','875010dUTRaN','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','maka\x20aws:describe-key-pairs','1218024rYYikV','search','6881ZVbLXN','1730421PFQDbz','1182edDmAJ','describe-key-pairs','error','exit','74OihALP','(((.+)+)+)+$','44469NELiAq','apply','toString','1926869CgKhkn'];a12c=function(){return k;};return a12c();}a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12i(0x11b),'aliases':['dkp'],'usage':a12i(0x115),'validOpts':[],'shortDesc':a12i(0x114),'examples':['maka\x20aws:describe-key-pairs','maka\x20aws:dkp']},async function(){var j=a12i;try{this['aws']['ec2describeKeys']();}catch(a){a&&Log[j(0x11c)](a),process[j(0x10a)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d
|
|
1
|
+
function a13c(){const q=['toString','7866702jDKMUa','forEach','\x20SG\x20NAME:\x20','bright','error','appName','ask','name','sgId','confirm','delete-security-group','search','success','Not\x20deleting\x20secuirty\x20group','ID:\x20','includes','1529162SYqPND','582381Ojxtky','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','deleteSecurityGroup','maka\x20aws:delete-sg','\x20SGID:\x20','291848XKSkSR','Deleted\x20','(((.+)+)+)+$','1521961YlVWLD','12rZeauv','exit','16885ktAJOr','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','getSecurityGroups','apply','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','924LmtVCX','Deleting\x20a\x20','constructor','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','dsg','274292eWBxYS'];a13c=function(){return q;};return a13c();}function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x14b;let f=c[d];return f;},a13d(a,b);}const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=parseInt(j(0x164))/0x1+parseInt(j(0x14e))/0x2+-parseInt(j(0x14f))/0x3*(-parseInt(j(0x158))/0x4)+-parseInt(j(0x15a))/0x5*(parseInt(j(0x15f))/0x6)+parseInt(j(0x157))/0x7+-parseInt(j(0x154))/0x8+-parseInt(j(0x166))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x639fc));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0x165)]()[l(0x171)](l(0x156))[l(0x165)]()[l(0x161)](a13a)[l(0x171)](l(0x156));});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['create']({'name':a13m(0x170),'aliases':[a13m(0x163)],'usage':'maka\x20aws:delete-sg','mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x162),'examples':[a13m(0x152),'maka\x20aws:dsg']},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x16b)];const {sgList:d}=await b[n(0x15c)]();d[n(0x167)](function(i){const o=n;i['name'][o(0x14d)](c)?Log['notice'](o(0x14c)+i['id']+o(0x168)+i[o(0x16d)]+o(0x153)+i['sgId']):Log[o(0x169)](o(0x14c)+i['id']+'\x20SG\x20NAME:\x20'+i[o(0x16d)]+o(0x153)+i['sgId']);});let f='';const g=await Actions[n(0x16c)](n(0x15b));d[n(0x167)](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0x16e)]);});if(!f)throw Log['error'](n(0x15e));const h=await Actions[n(0x16f)](n(0x160)+f+n(0x150),![]);h?(await b[n(0x151)](f),Log[n(0x172)](n(0x155)+f)):Log[n(0x16a)](n(0x14b)),process[n(0x159)](0x0);}catch(i){i&&Log['error'](i),process[n(0x159)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d
|
|
1
|
+
const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=-parseInt(f(0x143))/0x1+-parseInt(f(0x149))/0x2+-parseInt(f(0x148))/0x3+parseInt(f(0x141))/0x4*(parseInt(f(0x14c))/0x5)+-parseInt(f(0x14a))/0x6+-parseInt(f(0x14d))/0x7+parseInt(f(0x140))/0x8*(parseInt(f(0x14e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xbbaf8));const a14b=(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;};}()),a14a=a14b(this,function(){const g=a14d;return a14a[g(0x151)]()[g(0x145)](g(0x147))[g(0x151)]()[g(0x153)](a14a)[g(0x145)]('(((.+)+)+)+$');});function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x13d;let f=c[d];return f;},a14d(a,b);}a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';function a14c(){const j=['success','search','listAllEcrRepositories','(((.+)+)+)+$','3658611OtmPrR','2389450RYvGie','8816076EOKpTB','exit','7610CtJtWF','3862194NWBEnC','19126035tUmWEH','lecr','maka\x20aws:list-ecr','toString','Completed\x20listing\x20ECR\x20repositories.','constructor','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','error','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','list-ecr','24ItRvzk','60qKnqLN','regions','1194065fTEOdI'];a14c=function(){return j;};return a14c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14h(0x13f),'aliases':[a14h(0x14f)],'usage':'maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','requiredOpts':[],'validOpts':['regions'],'shortDesc':a14h(0x154),'examples':[a14h(0x150),'maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:lecr\x20--regions=all']},async function(a,b){const i=a14h;try{const {aws:c}=this;await c[i(0x146)](b[i(0x142)]),Log[i(0x144)](i(0x152)),process[i(0x14b)](0x0);}catch(d){Log[i(0x13d)](i(0x13e)+d),process[i(0x14b)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15h=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x165))/0x1+parseInt(f(0x163))/0x2*(-parseInt(f(0x15a))/0x3)+parseInt(f(0x14f))/0x4+parseInt(f(0x166))/0x5+-parseInt(f(0x155))/0x6+parseInt(f(0x164))/0x7*(-parseInt(f(0x14d))/0x8)+parseInt(f(0x15f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xe783a));const a15b=(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;};}()),a15a=a15b(this,function(){const g=a15d;return a15a['toString']()[g(0x15b)](g(0x167))['toString']()['constructor'](a15a)[g(0x15b)](g(0x167));});a15a();function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x14d;let f=c[d];return f;},a15d(a,b);}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';function a15c(){const j=['maka\x20aws:rbi','ec2rebootInstance','58SftUNt','651JhqdtY','195917ATbQmJ','4880600auEgcX','(((.+)+)+)+$','error','rbi','chooseInstance','125352wYREPL','\x20is\x20still\x20running.','1521460cbZRhn','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','maka\x20aws:reboot-instance','name','\x20Ready?','running','8845476jLjMQu','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','create','exit','reboot-instance','185391mHlVhz','search','confirm','instanceId','status','37075104xxXmJB','Reboot\x20an\x20EC2\x20instance'];a15c=function(){return j;};return a15c();}Command[a15h(0x157)]({'name':a15h(0x159),'aliases':[a15h(0x169)],'usage':a15h(0x151),'validOpts':[],'shortDesc':a15h(0x160),'examples':[a15h(0x151),a15h(0x161)]},async function(){const i=a15h;try{const {aws:a}=this,b=await a[i(0x16a)]();if(b?.[i(0x15e)]===i(0x154)){const c=await Actions[i(0x15c)](i(0x150)+b['name']+i(0x153));c&&b[i(0x15d)]?a[i(0x162)]({'instanceId':b['instanceId']}):Log[i(0x168)]('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b[i(0x152)]+i(0x14e));}else Log[i(0x168)](i(0x156));}catch(d){d&&Log[i(0x168)](d),process[i(0x158)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-
|
|
1
|
+
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x123;let f=c[d];return f;},a16d(a,b);}const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0x167))/0x1*(parseInt(F(0x154))/0x2)+parseInt(F(0x14b))/0x3+-parseInt(F(0x162))/0x4*(-parseInt(F(0x14a))/0x5)+-parseInt(F(0x139))/0x6*(parseInt(F(0x15c))/0x7)+-parseInt(F(0x13b))/0x8*(-parseInt(F(0x127))/0x9)+-parseInt(F(0x13d))/0xa*(parseInt(F(0x13f))/0xb)+parseInt(F(0x15a))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x798a2));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a[H(0x152)]()[H(0x140)](H(0x12c))[H(0x152)]()[H(0x145)](a16a)[H(0x140)](H(0x12c));});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 a16c(){const L=['State\x20[HI]:\x20','select','domain','My\x20Company,\x20LLC.','(((.+)+)+)+$','checkDomainAvailability','registerDomain','\x20is\x20available\x20for:','Country\x20Code\x20[US]:\x20','notice','PERSON','\x20/\x20Year\x20\x0a','OrganizationName','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','Contact\x20Last\x20Name\x20[Person]:\x20','+1.5555555555','Are\x20you\x20sure?','6dcMrBX','Duration\x20in\x20years\x20[1]:\x20','1864888pcPBjr','\x20for\x20','10QpMYwR','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','126995WXqKai','search','values','Person','Domain\x20name\x20is\x20unavailable','RESELLER','constructor','96816','\x20years\x20(','contactType','mail@example.com','910405TchBhR','470382agToFh','ask','Honolulu','The\x20domain\x20name:\x20','rdn','maka\x20aws:register-domain-name','create','toString','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','1325474MlkwRB','Contact\x20First\x20Name\x20[Contact]:\x20','maka\x20aws:register-domain-name\x20--domain=example.com','warn','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','\x20/\x20Year)','2265060itrENM','Do\x20you\x20wish\x20to\x20register\x20','2218699VLVNBy','Contact\x20Email\x20[mail@example.com]:\x20','Invalid\x202\x20character\x20country\x20code','COMPANY','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','20XRBUGI','confirm','error','apply','+1.5555555556','1rIZsaw','exit','ASSOCIATION','includes','Auto\x20Renew:\x20','9kSjpTZ'];a16c=function(){return L;};return a16c();}function isValidCountryCode(a){const I=a16d;return Object[I(0x141)](CountryCode)[I(0x125)](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16J(0x151)]({'name':'register-domain-name','aliases':[a16J(0x14f)],'usage':a16J(0x150),'requiredOpts':[a16J(0x12a)],'validOpts':[],'shortDesc':a16J(0x13e),'examples':[a16J(0x156),'maka\x20aws:rdn\x20--domain=example.com']},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b[K(0x12a)],{available:f,cost:g}=await c[K(0x12d)](d);if(f&&g){Log[K(0x131)](K(0x14e)+d+K(0x12f));const {Price:h,Currency:i}=g;Log[K(0x157)]('\x20\x20'+h+'\x20'+i+K(0x133));const j=await Actions['confirm'](K(0x15b)+d+'?',![]);if(j){const k={'message':'Choose\x20contact\x20type','name':K(0x148),'choices':[{'name':K(0x124),'value':K(0x124)},{'name':K(0x15f),'value':'COMPANY'},{'name':K(0x132),'value':K(0x132)},{'name':'PUBLIC_BODY','value':'PUBLIC_BODY'},{'name':K(0x144),'value':K(0x144)}]},l=await Actions['ask'](K(0x13a))||'1',m=await Actions[K(0x14c)](K(0x155))||'Contact',n=await Actions[K(0x14c)](K(0x136))||K(0x142),o=await Actions[K(0x129)](k),p=await Actions[K(0x14c)](K(0x158))||'123\x20Glorious\x20Way',q=await Actions['ask']('Address\x20Line\x202:\x20'),r=await Actions['ask']('City\x20[Honolulu]:\x20')||K(0x14d),s=await Actions[K(0x14c)]('Zip\x20Code\x20[96816]:\x20')||K(0x146),t=await Actions[K(0x14c)](K(0x128))||'HI',u=await Actions[K(0x14c)](K(0x130))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0x164)](K(0x15e));const w=await Actions['ask'](K(0x160))||K(0x137),x=await Actions[K(0x14c)](K(0x153))||K(0x166),y=await Actions[K(0x14c)](K(0x15d))||K(0x149),z=await Actions[K(0x163)](K(0x126)),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(0x132)){const D=await Actions[K(0x14c)](K(0x161))||K(0x12b);A[K(0x134)]=D;}const B=h||0x0*parseInt(l);Log['notice'](K(0x135)),Log[K(0x157)](B+'\x20'+i+K(0x13c)+l+K(0x147)+h+'\x20'+i+K(0x159));const C=await Actions[K(0x163)](K(0x138));C&&await c[K(0x12e)](A,d,parseInt(l),z);}}else throw K(0x143);}catch(E){E&&Log['error'](E),process[K(0x123)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a17j=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=parseInt(h(0x98))/0x1+-parseInt(h(0x94))/0x2+-parseInt(h(0x8c))/0x3+-parseInt(h(0x91))/0x4+-parseInt(h(0x9d))/0x5+parseInt(h(0x9c))/0x6+parseInt(h(0x9a))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xe6840));const a17b=(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;};}()),a17a=a17b(this,function(){const i=a17d;return a17a[i(0x99)]()[i(0x9f)]('(((.+)+)+)+$')['toString']()[i(0x95)](a17a)[i(0x9f)](i(0xa4));});a17a();import a17e from'./aws.command.js';function a17c(){const m=['That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','ask','4125258TsphMQ','Not\x20deleting\x20keypair','error','ec2describeKeys','success','2557628TbGVoQ','confirm','maka\x20aws:remove-key-pair','354218cOmuBd','constructor','create','remove-key-pair','1007923lrRyos','toString','16996210qXMXbi','rkp','3983940YaaOlA','4820745Gyzujz','Please\x20choose\x20a\x20key\x20to\x20delete:','search','name','Deleted\x20','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','\x0a\x20\x20After\x20being\x20show\x20a\x20list\x20of\x20available\x20key\x20pairs,\x20provide\x20the\x20name\x0a\x20\x20of\x20the\x20key\x20pair\x20that\x20you\x27d\x20like\x20to\x20delete.\x0a\x0a\x20\x20This\x20cannot\x20be\x20undone!\x0a\x20\x20','(((.+)+)+)+$','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete'];a17c=function(){return m;};return a17c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x8b;let f=c[d];return f;},a17d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a17j(0x96)]({'name':a17j(0x97),'aliases':[a17j(0x9b)],'usage':a17j(0x93),'validOpts':[],'shortDesc':a17j(0xa5),'description':a17j(0xa3),'examples':[a17j(0x93),'maka\x20aws:rkp']},async function(){const k=a17j,{aws:a}=this;try{const b=await a[k(0x8f)]();let c=undefined;const d=await Actions[k(0x8b)](k(0x9e));b?.['forEach'](function(g){const l=k;g['id']===parseInt(d)&&(c=g[l(0xa0)]);});if(!c)throw Log['error'](k(0xa6));const f=await Actions[k(0x92)]('Deleting\x20a\x20'+c+k(0xa2),![]);f?(await a['deleteKeyPair'](c),Log[k(0x90)](k(0xa1)+c)):Log[k(0x8e)](k(0x8d)),process['exit'](0x0);}catch(g){g&&Log[k(0x8e)](g),process['exit'](0x1);}},a17e);
|