@maka/maka-cli 5.0.43 → 5.1.0
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 +25 -25
- 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 +25 -25
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.1.0",
|
|
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,26 +84,26 @@
|
|
|
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
109
|
"node": ">=14.0.0"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a0q=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x113))/0x1*(parseInt(n(0xdb))/0x2)+parseInt(n(0xd3))/0x3*(-parseInt(n(0xd9))/0x4)+parseInt(n(0xd0))/0x5+-parseInt(n(0xff))/0x6+-parseInt(n(0xde))/0x7+-parseInt(n(0x111))/0x8+-parseInt(n(0xfc))/0x9*(-parseInt(n(0x114))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x69c0f));const a0b=(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;};}()),a0a=a0b(this,function(){const o=a0d;return a0a[o(0x110)]()[o(0x10e)](o(0xdc))[o(0x110)]()[o(0xf4)](a0a)[o(0x10e)]('(((.+)+)+)+$');});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xc5;let f=c[d];return f;},a0d(a,b);}import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';function a0c(){const B=['experimental','match','minOptsLength','length','764uPYCrw','mpi','26XqXNxt','(((.+)+)+)+$','assign','5790806TyTATi','invoke','slice','minArgLength','aliases','push','generate','play','call','options','join','addCommand\x20requires\x20a\x20Command\x20instance','\x20not\x20found','shortDesc','exit','validateParams','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','setColorMode','function','maxOptsLength','notice','mustBeLoggedIn','constructor','number','addCommand','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','validateMeteorInstall','Command.create\x20requires\x20some\x20options!','error','sort','2447019ZtqWPU','run','murder','690636UDJwkk','Command\x20','help','header','Command.create\x20requires\x20a\x20handler\x20function!','forEach','mustBeInMakaProject','Command\x20format\x20is\x20incorrect','Please\x20run\x20\x22maka\x20login\x22','projectConfig','maxArgLength','localeCompare','validateMakaProject','cwd','mustHaveMeteorInstalled','search','Command\x20requires\x20a\x20handler\x20function','toString','897112MJaVZh','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','61602NmbUab','30iYXkCr','cfg','Too\x20few\x20arguments','name','There\x20is\x20no\x20Meteor\x20application\x20here','getGlobalConfig','_commands','Sub-Commands:','chdir','_handler','tableList','DARK','maybeProxyCommandToMeteor','Command\x20not\x20found','LIGHT','Too\x20many\x20options','909640nBekmZ','keys','Too\x20few\x20options','4881acdQSe','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly'];a0c=function(){return B;};return a0c();}import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';async function inside(a='.',b){const p=a0d,c=process[p(0x10c)]();try{return process['chdir'](a),await b();}finally{process[p(0xc8)](c);}}export class Command extends Tool{[a0q(0xe7)];[a0q(0x108)];['_commands'];[a0q(0xc9)];constructor(a,b){const r=a0q;super();if(!a)throw new Error(r(0xee));if(!a['name'])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==r(0xf0))throw new Error(r(0x10f));this[r(0xe7)]=Object[r(0xdd)]({},a),this[r(0x117)]=this[r(0xe7)]['name'],this[r(0xc6)]=[],this[r(0xc9)]=b['bind'](this);}static['create'](a,b,c){const s=a0q;if(!a)throw new Error(s(0xf9));if(typeof b!==s(0xf0))throw new Error(s(0x103));const d=new Command(a,b);return c=c||a0f,Object['assign'](d,{'parent':c?.[s(0xe7)]?.[s(0x117)]}),c[s(0xf6)](d),d;}[a0q(0xf6)](a){const t=a0q;if(!(a instanceof Command))throw new Error(t(0xe9));this[t(0xc6)][t(0xe3)](a);}async[a0q(0xfd)](a,b){const u=a0q;try{a=a||[],b=b||{};try{const c=await this[u(0x115)][u(0xc5)](),d=c['pallet']==='light'?ColorMode[u(0xce)]:ColorMode[u(0xcb)];Log[u(0xef)](d);}catch(f){Log[u(0xfa)](f),process['exit'](0x0);}return await inside(b[u(0x10c)],async()=>{const v=u;return await this[v(0xdf)](a,b);});}catch(g){process[u(0xec)](0x1);}}async['invoke'](a,b){const w=a0q,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[w(0xe7)];try{if(this[w(0xe7)][w(0x117)]!==w(0xe4)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[w(0xd8)]===0x0)&&this['_commands'][w(0xd8)]>=0x0,h=b[w(0x101)]||b['h'];if(g&&h){if(this[w(0xc6)][w(0xd8)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[w(0xe7)][w(0x105)]){const i=this[w(0x10b)]();if(!i)throw new MustBeInProjectError();this[w(0x108)]=this[w(0x115)]['getMakaProjectConfig']();}if(this[w(0xe7)][w(0xf3)]){const j=await this['validateUserIsLoggedIn']();if(!j)throw new MustBeLoggedIn();}if(this[w(0xe7)][w(0x10d)]){const k=this[w(0xf8)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[w(0xe7)][w(0xe1)]===w(0xf5)){if(a['length']<this[w(0xe7)]['minArgLength']){Log[w(0xfa)](w(0x116));throw new UsageError();}}if(typeof this[w(0xe7)]['maxArgLength']===w(0xf5)){if(a[w(0xd8)]>=this[w(0xe7)][w(0x109)]){Log['error']('Too\x20many\x20arguments');throw new UsageError();}}if(typeof this[w(0xe7)][w(0xd7)]==='number'){if(Object[w(0xd1)](b)['length']<this[w(0xe7)]['minOptsLength']){Log[w(0xfa)](w(0xd2));throw new UsageError();}}if(typeof this['options'][w(0xf1)]===w(0xf5)){if(Object['keys'](b)[w(0xd8)]>=this[w(0xe7)][w(0xf1)]){Log[w(0xfa)](w(0xcf));throw new UsageError();}}}}b=await this[w(0xed)](a,b,this[w(0xe7)]),_prevCmd=a[0x0];}return await this[w(0xc9)][w(0xe6)](this,a,b);}catch(l){Log['usage'](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[w(0xf2)](w(0xc7)),this[w(0xca)](this[w(0xc6)]),Log[w(0x102)](w(0xf7));else{if(l instanceof MustBeInProjectError)Log['error'](w(0x112));else{if(l instanceof NoMeteorFoundError)Log[w(0xfa)](w(0xd4)),Log[w(0xf2)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log[w(0xfa)](w(0x118));else l instanceof MustBeLoggedIn&&(Log['error']('You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command'),Log[w(0xf2)](w(0x107)));}}}process[w(0xec)](0x1);}}[a0q(0xca)](a){const x=a0q,b=new a0e({});b[x(0xe3)](['Name','Alias','Description']),a[x(0xfb)]((c,d)=>{const y=x;return c[y(0x117)][y(0x10a)](d['name']);})[x(0x104)](c=>{const z=x;if(c[z(0x117)]!==z(0xfe)&&c[z(0x117)]!==z(0xe5)){const d=c[z(0xd5)](),e=d?'(experimental)\x20'+c[z(0xeb)]():c[z(0xeb)]();b[z(0xe3)]([c[z(0x117)],c[z(0xe2)](),e]);}}),Log['bright'](b[x(0x110)]());}async['processAndRunCommand'](a,b=[],c={}){const A=a0q;try{const d=a?.['split'](':');if(!d||d['length']===0x0)throw A(0x106);if(d[0x0]===A(0xe4)||d[0x0]==='g'&&d[A(0xd8)]>0x1){const h=this[A(0xc6)]['find'](j=>j[A(0xd6)](A(0xe4)));if(!h)throw A(0xcd);const i=d[A(0xe0)](0x1)[A(0xe8)](':');return b['unshift'](i),await h['run'](b,c);}let f=this['_commands'],g;for(const j of d){g=f['find'](k=>k[A(0xd6)](j));if(!g)try{await this[A(0xda)][A(0xcc)]();}catch(k){throw A(0x100)+j+A(0xea);}g&&(f=g['_commands']);}if(g){const l=await g[A(0xfd)](b,c);return l;}else throw A(0xcd);}catch(m){Log[A(0xfa)](m),process[A(0xec)](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(0x1cc))/0x1+-parseInt(f(0x1c8))/0x2*(parseInt(f(0x1d3))/0x3)+-parseInt(f(0x1d2))/0x4+-parseInt(f(0x1d4))/0x5+-parseInt(f(0x1d0))/0x6*(parseInt(f(0x1cb))/0x7)+parseInt(f(0x1c9))/0x8*(parseInt(f(0x1c7))/0x9)+parseInt(f(0x1ca))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0xb06a7));var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var g=a1d;return a1a[g(0x1ce)]()[g(0x1cd)]('(((.+)+)+)+$')[g(0x1ce)]()[g(0x1cf)](a1a)[g(0x1cd)](g(0x1d1));});function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x1c7;var f=c[d];return f;},a1d(a,b);}a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./create.js';import'./debug.js';import'./generate.js';import'./help.js';import'./install.js';import'./login.js';import'./logout.js';import'./logs.js';import'./maka.cmd.js';import'./reconfig.js';import'./ssh.js';import'./ssl.js';function a1c(){var h=['search','toString','constructor','292356kspTjr','(((.+)+)+)+$','5373812uEeXJi','1186098ExPFRx','2828060PBUdTB','921537DlZfeE','4ksfnGk','8BoDOGo','37595610nhkwqY','56zgGunI','49750UVMfTU'];a1c=function(){return h;};return a1c();}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
|
+
const a2l=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0xcf))/0x1*(-parseInt(h(0xd2))/0x2)+-parseInt(h(0xcb))/0x3*(parseInt(h(0xc0))/0x4)+parseInt(h(0xc2))/0x5+-parseInt(h(0xdc))/0x6*(-parseInt(h(0xd6))/0x7)+parseInt(h(0xdb))/0x8+-parseInt(h(0xd8))/0x9+-parseInt(h(0xe0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xa543f));function a2c(){const n=['You:\x20','message','55466swsgRF','error','GPT:\x20','openapikey','247667EUCrnx','(((.+)+)+)+$','2226024vQNaNV','openai','exit','9278056baDrui','18rDwnbz','cacert','parse','OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','1618030wLSBpl','createInterface','toString','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','fsi','1162740SiFVzj','cfg','4847755pjWcTp','isFile','constructor','ChatGPT\x20style\x20AI\x20interface','cert','text','Using\x20CA\x20Cert\x20','bright','toLowerCase','9afLjtV','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','getGlobalConfig','search','10rHxtay'];a2c=function(){return n;};return a2c();}function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0xbc;let f=c[d];return f;},a2d(a,b);}const a2b=(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;};}()),a2a=a2b(this,function(){const i=a2d;return a2a['toString']()[i(0xce)](i(0xd7))[i(0xbd)]()[i(0xc4)](a2a)[i(0xce)](i(0xd7));});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 j=a2d,c=a2e[j(0xbc)]({'input':process['stdin'],'output':process['stdout']});c['question'](j(0xd0),async d=>{const k=j;if(d[k(0xca)]()===k(0xda)){c['close']();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[k(0xde)](e['data']);if(f[k(0xd3)])throw new Error(f['error'][k(0xd1)]);Log[k(0xc9)](k(0xd4)+f?.['choices'][0x0]?.[k(0xc7)]['trim']());}catch(g){Log[k(0xd3)](g),process['exit'](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command['create']({'name':'ai','description':a2l(0xc5),'validOpts':[a2l(0xdd),'openapikey'],'shortDesc':a2l(0xc5),'isPro':!![]},async function(a,b){const m=a2l;try{let c='';b[m(0xdd)]&&(this['fsi']['isFile'](b['cacert'])?(c=b[m(0xdd)],Log['notice'](m(0xc8)+c)):Log['error'](m(0xbe)+c));const d=await this[m(0xc1)][m(0xcd)]();if(d[m(0xc6)]){if(this[m(0xbf)][m(0xc3)](d[m(0xc6)]))c=d['cert'];else throw Log[m(0xd3)]('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b[m(0xd5)])f=b[m(0xd5)],Log['notice']('Using\x20OpenAI\x20Key\x20'+f);else{if(d[m(0xd9)])f=d[m(0xd9)];else throw Log[m(0xd3)](m(0xdf));}Log[m(0xc9)](m(0xcc)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[m(0xd3)](g),process[m(0xda)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a3d,c=a();while(!![]){try{var d=parseInt(f(0x125))/0x1+-parseInt(f(0x120))/0x2+parseInt(f(0x121))/0x3+-parseInt(f(0x129))/0x4+parseInt(f(0x127))/0x5+parseInt(f(0x128))/0x6+-parseInt(f(0x124))/0x7*(-parseInt(f(0x123))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x76b5a));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x126)]()[h(0x122)](h(0x12b))[h(0x126)]()[h(0x12c)](a3a)[h(0x122)]('(((.+)+)+)+$');});a3a();import'./aws.command.js';import'./ci.sub.cmd.js';import'./ckp.sub.cmd.js';import'./csg.sub.cmd.js';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x120;var f=c[d];return f;},a3d(a,b);}import'./di.sub.cmd.js';import'./dkp.sub.cmd.js';import'./rbi.sub.cmd.js';import'./sth.sub.cmd.js';import'./ti.sub.cmd.js';import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';function a3c(){var i=['3740020oAimPW','apply','(((.+)+)+)+$','constructor','600456ZMRwDT','422304duzzOA','search','264KNuhMQ','107359XpRKSy','578436hVXLDl','toString','2044695SPjoqh','523218rKlMEK'];a3c=function(){return i;};return a3c();}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
|
+
function a4c(){const j=['85854mSBUPo','maka\x20aws:<sub-command>','95pqSrES','7105260cbygpi','26748VFzkwK','create','5594418BfNDKa','search','25osQZvC','318vuXtRj','7YrjBra','9446PXcTWc','6712266xtCBqQ','constructor','apply','toString','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','aws','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','3528208GcPSRC'];a4c=function(){return j;};return a4c();}function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a4d(a,b);}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x1b1))/0x1*(-parseInt(f(0x1b4))/0x2)+parseInt(f(0x1b2))/0x3*(parseInt(f(0x1ad))/0x4)+parseInt(f(0x1ab))/0x5*(-parseInt(f(0x1a9))/0x6)+-parseInt(f(0x1b3))/0x7*(parseInt(f(0x1a8))/0x8)+parseInt(f(0x1af))/0x9+parseInt(f(0x1ac))/0xa+-parseInt(f(0x1b5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x926dc));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x1a4)]()[h(0x1b0)]('(((.+)+)+)+$')['toString']()[h(0x1b6)](a4a)[h(0x1b0)]('(((.+)+)+)+$');});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x1ae)]({'name':a4i(0x1a6),'usage':a4i(0x1aa),'validOpts':[],'shortDesc':a4i(0x1a7),'description':a4i(0x1a5)},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(0x11a))/0x1+parseInt(f(0x10b))/0x2*(-parseInt(f(0x112))/0x3)+-parseInt(f(0x11d))/0x4*(parseInt(f(0x10e))/0x5)+-parseInt(f(0x108))/0x6*(-parseInt(f(0x119))/0x7)+-parseInt(f(0x109))/0x8+parseInt(f(0x125))/0x9*(parseInt(f(0x117))/0xa)+parseInt(f(0x107))/0xb*(parseInt(f(0x120))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0x5db20));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['toString']()[g(0x11b)]('(((.+)+)+)+$')[g(0x10d)]()['constructor'](a5a)['search'](g(0x10a));});a5a();import a5e from'./aws.command.js';function a5c(){const j=['region','Repository\x20URI:\x20','144eWrmmO','repository','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','ecrCreateRepository','error','81bEPITm','aws','Create\x20an\x20Elastic\x20Container\x20Repository','1468808vibjsR','5262WNRuXP','4170832dtXvfI','(((.+)+)+)+$','84818HSsKEX','success','toString','6005UzBfLc','repositoryUri','cecr','$metadata','18lTbiEZ','httpStatusCode','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','exit','maka\x20aws:create-ecr\x20--name=my-new-repo','293380ymksXH','name','2023ryfjDu','407787fGNtMN','search','Repository\x20created\x20successfully.','1840ZxQHUj'];a5c=function(){return j;};return a5c();}import{Command}from'../../command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x105;let f=c[d];return f;},a5d(a,b);}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':'create-ecr','aliases':[a5h(0x110)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5h(0x118)],'validOpts':[a5h(0x11e)],'shortDesc':a5h(0x106),'examples':[a5h(0x116),'maka\x20aws:cecr\x20--name=my-new-repo',a5h(0x114)]},async function(a,b){const i=a5h;try{const c=await this[i(0x105)][i(0x123)](b);c&&c[i(0x111)][i(0x113)]===0xc8&&c['repository']?(Log[i(0x10c)](i(0x11c)),Log['notice'](i(0x11f)+c[i(0x121)][i(0x10f)])):Log[i(0x124)](i(0x122)),process[i(0x115)](0x0);}catch(d){Log[i(0x124)](d),process[i(0x115)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6j=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d
|
|
1
|
+
const a6j=a6d;function a6c(){const l=['create-hosted-zone','linkEC2ToRoute53','2506760sosmVm','chz','route53CreateHostedZone','27THDLQl','1232wYtvxZ','13WGDzBp','2paPUSf','2773176xYFSlS','maka\x20aws:chz\x20--domain=example.com','Set\x20hosted\x20zone\x20to\x20an\x20instance?','chooseInstance','6567242nBkzoT','error','(((.+)+)+)+$','171876cylDgj','aws','114kCmFmb','165gVWjXe','toString','244728unbwYs','create','domain','publicIp','confirm','Instance\x20not\x20found','41069tBjFPy','1233759CcSxHa'];a6c=function(){return l;};return a6c();}(function(a,b){const h=a6d,c=a();while(!![]){try{const d=parseInt(h(0xb7))/0x1*(parseInt(h(0xa3))/0x2)+parseInt(h(0xad))/0x3*(parseInt(h(0xab))/0x4)+parseInt(h(0xae))/0x5*(-parseInt(h(0xb0))/0x6)+-parseInt(h(0xb6))/0x7*(-parseInt(h(0xa1))/0x8)+-parseInt(h(0xa0))/0x9*(parseInt(h(0xba))/0xa)+-parseInt(h(0xa8))/0xb+-parseInt(h(0xa4))/0xc*(parseInt(h(0xa2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0xce0ab));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const i=a6d;return a6a[i(0xaf)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a6a)['search'](i(0xaa));});a6a();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-0xa0;let f=c[d];return f;},a6d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a6j(0xb1)]({'name':a6j(0xb8),'aliases':[a6j(0xbb)],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':[a6j(0xb2)],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com',a6j(0xa5)]},async function(a,b){const k=a6j;try{const c=b['domain'];this['aws'][k(0xbc)](c);const d=await Actions[k(0xb4)](k(0xa6));if(d){const f=await this[k(0xac)][k(0xa7)]();if(f?.['id']){if(!f[k(0xb3)])throw Log['error']('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');this[k(0xac)][k(0xb9)](f['id'],f['publicIp'],c);}else throw k(0xb5);}}catch(g){g&&Log[k(0xa9)](g),process['exit'](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0x133))/0x1+parseInt(Y(0x105))/0x2+-parseInt(Y(0xfc))/0x3*(-parseInt(Y(0x104))/0x4)+-parseInt(Y(0x13a))/0x5*(parseInt(Y(0x129))/0x6)+-parseInt(Y(0x109))/0x7+parseInt(Y(0x102))/0x8+parseInt(Y(0xff))/0x9*(parseInt(Y(0x112))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x56724));const a7b=(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;};}()),a7a=a7b(this,function(){const Z=a7d;return a7a[Z(0xf0)]()[Z(0x137)](Z(0x11c))[Z(0xf0)]()[Z(0x11a)](a7a)[Z(0x137)](Z(0x11c));});a7a();import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';function a7c(){const a2=['No\x20instance\x20has\x20been\x20created.','ImageID:','environment','maka\x20aws:ci\x20--env\x20prod','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','9vwlfiW','create-instance','Key-Pair:\x20','377316gwrlRv','aws','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','3974384WsSiIp','getEnvFromShorthand','539316tDhKpF','546938VUbbrz','**\x20Available\x20key-pairs\x20**','maka\x20aws:create-instance','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','3527545LEcWUb','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','maka\x20aws:create-instance\x20--env\x20dev','Instace\x20Type:\x20','isFile','readFileSync','deleteSecurityGroup','bright','User\x20Data:','130jUDknK','chooseVPC','name','Remove\x20the\x20security\x20group\x20','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','success','exit','constructor','error','(((.+)+)+)+$','createKeyPair','split','user-data','listAvailableSubnets','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','Create\x20new\x20AWS\x20instance','Setting\x20the\x20key-pair\x20to:\x20','confirm','ec2createSG','\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','ec2describeKeys','Remove\x20the\x20keypair\x20','30ZAcEFE','ask','chooseSecurityGroup','env','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','Security\x20Group:\x20','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','unlinkSync','string','334607TjvocV','getSubnetCidr','maka-cli','Subnet:\x20','search','fsi','Creating\x20user\x20data\x20file\x20in\x20','527140WhEdAY','notice','toString','Would\x20you\x20like\x20to\x20include\x20user\x20data?','number','listAvailableAMIs','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','EC2\x20Name:\x20[','Name'];a7c=function(){return a2;};return a7c();}function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xef;let f=c[d];return f;},a7d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a7a0(0xfd),'aliases':['ci'],'usage':a7a0(0x107),'examples':[a7a0(0x10b),a7a0(0xfa)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0x12c)}],'validOpts':[],'shortDesc':a7a0(0x122),'description':a7a0(0x126)},async function(a,b){const a1=a7a0;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a1(0x103)](b[a1(0x12c)]),i=f['getAppConfigPath'](h),j=g+'-'+h,k=await Actions['ask'](a1(0xf5)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a1(0x124)](a1(0x101),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this['aws'][a1(0x11d)]({'env':h});r=y,s=z,Log['success'](a1(0x123)+r);}else try{Log[a1(0xef)](a1(0x106));const A=r?r:k,B=await this[a1(0x100)][a1(0x127)]({'suggestion':A}),C=await Actions[a1(0x12a)]('Please\x20choose\x20a\x20key\x20to\x20use:\x20')||'-1';if(parseInt(C)<0x0){Log[a1(0x11b)](a1(0x130)),Log[a1(0xef)](a1(0xf7));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0x114)],Log[a1(0x118)](a1(0x123)+r);break;}}}catch(E){Log[a1(0x11b)](E);}l=await this[a1(0x100)][a1(0x113)]();const t=await Actions[a1(0x124)](a1(0x116),!![]);let u;if(t){const F=l===''?await this[a1(0x100)][a1(0x113)]():l;u=await Actions['ask']('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions[a1(0x12a)](a1(0x108))||'22,80,443',H=G[a1(0x11e)](',');await this[a1(0x100)][a1(0x125)]({'description':'Web\x20App','name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this[a1(0x100)][a1(0x12b)](u),n=await this[a1(0x100)][a1(0xf3)](),p=await this[a1(0x100)][a1(0x120)]();const v=0x1,w=0x1;try{const I=await Actions[a1(0x12a)](a1(0x10a))||'1:1',J=I[a1(0x11e)](':')[0x0],K=I[a1(0x11e)](':')[0x1];typeof parseInt(J)===a1(0xf2)&&typeof parseInt(K)===a1(0xf2)&&Log[a1(0x118)](a1(0x121)+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions['ask'](a1(0x12e))||'t3.micro';typeof M===a1(0x132)&&(o=M);}catch(N){Log[a1(0x11b)](N);}let x='';try{const O=await Actions[a1(0x124)](a1(0xf1),![]);O&&(x=a7f['join'](i,a1(0x11f)),Log[a1(0xef)](a1(0x139)+x),await this[a1(0x138)]['createFile']({'filePath':x,'data':''}),await Actions['confirm'](a1(0xfb)));}catch(P){Log[a1(0x11b)](P);}try{const Q=await this['aws'][a1(0x134)](p);Log[a1(0xef)](a1(0xf8)+n),Log[a1(0xef)]('Instance\x20Count:\x20'+v+':'+w),Log['notice'](a1(0x10c)+o),Log['notice'](a1(0xfe)+r),Log['notice'](a1(0x12f)+m),Log[a1(0xef)](a1(0x136)+Q);if(x){Log['notice'](a1(0x111)+x);const S=a7g[a1(0x10e)](x)[a1(0xf0)]();Log[a1(0xef)](S);}const R=await Actions[a1(0x124)](a1(0x12d));if(R){const T=await this[a1(0x100)]['ec2create']({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':'created-by','Value':a1(0x135)},{'Key':a1(0xf9),'Value':h},{'Key':a1(0xf6),'Value':k}],...x&&{'userData':x}});T&&(Log[a1(0x118)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a1(0x110)](a1(0xf4)));}else{Log[a1(0xef)](a1(0x117));const U=await Actions[a1(0x124)](a1(0x128)+r+'\x20?',!![]);U&&(this[a1(0x100)]['deleteKeyPair'](r),d[a1(0x10d)](s)&&a7g[a1(0x131)](s));const V=await Actions['confirm'](a1(0x115)+m+'\x20?',!![]);V&&this[a1(0x100)][a1(0x10f)](m);}}catch(W){Log['error'](W);}}catch(X){X&&Log[a1(0x11b)](X),process[a1(0x119)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a8i=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x1a0))/0x1*(parseInt(g(0x19d))/0x2)+-parseInt(g(0x1b2))/0x3*(parseInt(g(0x1ac))/0x4)+-parseInt(g(0x1a4))/0x5+parseInt(g(0x1a9))/0x6*(parseInt(g(0x1a8))/0x7)+parseInt(g(0x1ab))/0x8*(parseInt(g(0x1b6))/0x9)+-parseInt(g(0x1a5))/0xa*(-parseInt(g(0x19e))/0xb)+parseInt(g(0x19c))/0xc*(parseInt(g(0x1b5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0x5e661));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[h(0x1aa)]()['search'](h(0x1b3))['toString']()[h(0x1b7)](a8a)['search'](h(0x1b3));});function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x19c;let f=c[d];return f;},a8d(a,b);}function a8c(){const k=['3983859DMSZJV','constructor','3646524eVVSZE','26590BXZLWI','11fgtbvV','createKeyPair','49DiHfQC','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','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','2394890MHjRwD','826610tNLDNP','maka\x20aws:create-key-pair','cfg','749cEXeRp','7980RYpEMk','toString','8AWANov','732080bwNvdE','create-key-pair','exit','maka\x20aws:create-key-pair\x20--env\x20prod','maka\x20aws:ckp\x20--env\x20prod','ckp','6zTjwqo','(((.+)+)+)+$','create','52sFdNqu'];a8c=function(){return k;};return a8c();}a8a();import a8e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a8i(0x1b4)]({'name':a8i(0x1ad),'aliases':[a8i(0x1b1)],'usage':a8i(0x1a6),'examples':[a8i(0x1af),a8i(0x1b0)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8i(0x1a1),'description':a8i(0x1a3)},async function(a,b){const j=a8i;try{const {aws:c}=this,d=this[j(0x1a7)]['getEnvFromShorthand'](b[j(0x1a2)]);c[j(0x19f)]({'env':d});}catch(f){f&&Log['error'](f),process[j(0x1ae)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a9o=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=parseInt(m(0x172))/0x1+-parseInt(m(0x17c))/0x2*(parseInt(m(0x16a))/0x3)+-parseInt(m(0x166))/0x4*(-parseInt(m(0x180))/0x5)+-parseInt(m(0x17f))/0x6*(-parseInt(m(0x176))/0x7)+-parseInt(m(0x16d))/0x8*(-parseInt(m(0x17e))/0x9)+parseInt(m(0x17b))/0xa+parseInt(m(0x179))/0xb*(-parseInt(m(0x16b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0x838a4));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(0x175)]()[n(0x171)](n(0x183))[n(0x175)]()['constructor'](a9a)[n(0x171)](n(0x183));});a9a();import a9e from'./aws.command.js';function a9c(){const r=['1040syjoVV','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','maka\x20aws:create-secuirty-group','create-security-group','6PIBUeX','48VfxhJI','maka\x20aws:csg','8Szfnyy','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','name','csg','search','314925VviTpG','create','split','toString','375697ZIZWjQ','List\x20is\x20not\x20all\x20numbers','forEach','3467035tbzaGb','chooseVPC','8570550sCOpXm','336304CRVAKA','error','3373911zCEhAR','18gJPeYm','8230xRndMy','ask','match','(((.+)+)+)+$'];a9c=function(){return r;};return a9c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x166;let f=c[d];return f;},a9d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a9o(0x173)]({'name':a9o(0x169),'aliases':[a9o(0x170)],'usage':'maka\x20aws\x20create-security-group','validOpts':[],'shortDesc':a9o(0x167),'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(0x168),a9o(0x16c)]},async function(a,b){const p=a9o,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d[p(0x17a)](),h=b[p(0x16f)]?b[p(0x16f)]:''+f,i=await Actions[p(0x181)]('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions[p(0x181)](p(0x16e))||'22,80,443',k=j[p(0x174)](',');k[p(0x178)](l=>{const q=p;if(!l[q(0x182)](/^\d+$/))throw q(0x177);}),await d['ec2createSG']({'description':'Web\x20App','name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[p(0x17d)](l),process['exit'](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a10i=a10d;function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x10c;let f=c[d];return f;},a10d(a,b);}(function(a,b){const f=a10d,c=a();while(!![]){try{const d=-parseInt(f(0x110))/0x1*(-parseInt(f(0x114))/0x2)+-parseInt(f(0x12a))/0x3+parseInt(f(0x116))/0x4*(parseInt(f(0x124))/0x5)+-parseInt(f(0x128))/0x6*(parseInt(f(0x112))/0x7)+parseInt(f(0x11a))/0x8*(parseInt(f(0x11d))/0x9)+parseInt(f(0x126))/0xa+parseInt(f(0x115))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x37a4a));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a[h(0x10e)]()[h(0x120)](h(0x127))[h(0x10e)]()['constructor'](a10a)[h(0x120)]('(((.+)+)+)+$');});function a10c(){const k=['\x20in\x20region\x20','.\x20Error:\x20','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','4232sGBKrM','exit','decr','2745ZfwZTO','apply','region','search','Repository\x20','error','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','925915UPrwpO','ecrDeleteRepository','300040MdNcLR','(((.+)+)+)+$','312TvSMSG','success','413052oKwGVf','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','name','toString','delete-ecr','225079mPlnxq','create','40495iehuMI','Delete\x20an\x20Elastic\x20Container\x20Repository','2DUFrvS','712877GMdZGw','4iohPLl'];a10c=function(){return k;};return a10c();}a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a10i(0x111)]({'name':a10i(0x10f),'aliases':[a10i(0x11c)],'usage':a10i(0x123),'requiredOpts':[a10i(0x10d),a10i(0x11f)],'validOpts':[],'shortDesc':a10i(0x113),'examples':[a10i(0x10c),a10i(0x119)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0x125)]({'repoName':b[j(0x10d)],'region':b[j(0x11f)]}),Log[j(0x129)](j(0x121)+b['name']+'\x20deleted\x20successfully\x20in\x20region\x20'+b[j(0x11f)]+'.'),process[j(0x11b)](0x0);}catch(d){Log[j(0x122)]('Failed\x20to\x20delete\x20the\x20repository:\x20'+b[j(0x10d)]+j(0x117)+b['region']+j(0x118)+d),process[j(0x11b)](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x151))/0x1+parseInt(f(0x155))/0x2*(-parseInt(f(0x159))/0x3)+-parseInt(f(0x14a))/0x4*(-parseInt(f(0x157))/0x5)+parseInt(f(0x15d))/0x6*(parseInt(f(0x156))/0x7)+-parseInt(f(0x14b))/0x8+parseInt(f(0x158))/0x9*(parseInt(f(0x14f))/0xa)+-parseInt(f(0x14e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xc403d));function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0x147;let f=c[d];return f;},a11d(a,b);}function a11c(){const k=['653400guHbPa','(((.+)+)+)+$','exit','21074834kiPZTf','30xNyofR','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','948860fZhffL','toString','describe-instances','\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','28142iRqlNP','584017zafkQC','2101345gfHstf','3946869JFrAjN','171rtCnxG','maka\x20aws:describe-instances','create','apply','66vISplF','ec2describeInstances','constructor','error','search','4QNcFUj'];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(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0x152)]()[h(0x149)](h(0x14c))[h(0x152)]()[h(0x147)](a11a)[h(0x149)](h(0x14c));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0x15b)]({'name':a11i(0x153),'aliases':['di'],'usage':a11i(0x15a),'validOpts':[],'shortDesc':a11i(0x150),'examples':[a11i(0x15a),'maka\x20aws:di'],'description':a11i(0x154)},async function(){const j=a11i;try{const {aws:a}=this;a[j(0x15e)]();}catch(b){b&&Log[j(0x148)](b),process[j(0x14d)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=-parseInt(f(0x1e7))/0x1*(-parseInt(f(0x1f2))/0x2)+-parseInt(f(0x1e1))/0x3*(-parseInt(f(0x1de))/0x4)+parseInt(f(0x1f0))/0x5*(parseInt(f(0x1ee))/0x6)+parseInt(f(0x1f1))/0x7+parseInt(f(0x1ed))/0x8*(-parseInt(f(0x1f3))/0x9)+parseInt(f(0x1ea))/0xa*(-parseInt(f(0x1e5))/0xb)+-parseInt(f(0x1e2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x58b8e));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a[h(0x1ec)]()[h(0x1e3)](h(0x1e6))[h(0x1ec)]()[h(0x1e9)](a12a)['search'](h(0x1e6));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x1de;var f=c[d];return f;},a12d(a,b);}function a12c(){var k=['maka\x20aws:describe-key-pairs','exit','1641aHNCVQ','849840SXyzNG','search','aws','33MllvbD','(((.+)+)+)+$','12383cdjjVX','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','constructor','1595130dfQPAg','dkp','toString','8056EldvAP','6ZxbkiE','describe-key-pairs','1398695pliYce','561162ipSJJK','22vutsYN','2133ZdwQQN','apply','4792Ciekcv'];a12c=function(){return k;};return a12c();}import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a12i(0x1ef),'aliases':[a12i(0x1eb)],'usage':a12i(0x1df),'validOpts':[],'shortDesc':a12i(0x1e8),'examples':['maka\x20aws:describe-key-pairs','maka\x20aws:dkp']},async function(){var j=a12i;try{this[j(0x1e4)]['ec2describeKeys']();}catch(a){a&&Log['error'](a),process[j(0x1e0)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x1e0;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(0x1f9))/0x1+parseInt(j(0x1f4))/0x2+parseInt(j(0x201))/0x3*(parseInt(j(0x203))/0x4)+-parseInt(j(0x1e4))/0x5*(parseInt(j(0x1e5))/0x6)+-parseInt(j(0x1f1))/0x7*(-parseInt(j(0x1f5))/0x8)+-parseInt(j(0x1e0))/0x9*(-parseInt(j(0x1fb))/0xa)+-parseInt(j(0x1eb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x6fa96));function a13c(){const q=['confirm','forEach','119825MZLHMJ','42GWXImC','\x20SGID:\x20','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','sgId','name','Not\x20deleting\x20secuirty\x20group','2291267qnpGgC','ask','appName','toString','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','create','398965XdvBfk','error','delete-security-group','286886kiWObD','88GFaLvB','maka\x20aws:delete-sg','ID:\x20','Deleting\x20a\x20','455283DfYxNu','deleteSecurityGroup','832240qQkzEC','(((.+)+)+)+$','\x20SG\x20NAME:\x20','Deleted\x20','constructor','success','1055595MkKonF','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','4EujVsa','notice','apply','18vBDNas','getSecurityGroups'];a13c=function(){return q;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x205)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a['toString']()['search'](l(0x1fc))[l(0x1ee)]()[l(0x1ff)](a13a)['search']('(((.+)+)+)+$');});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(0x1f0)]({'name':a13m(0x1f3),'aliases':['dsg'],'usage':a13m(0x1f6),'mustBeInMakaProject':!![],'validOpts':[],'shortDesc':a13m(0x1ef),'examples':[a13m(0x1f6),'maka\x20aws:dsg']},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x1ed)];const {sgList:d}=await b[n(0x1e1)]();d[n(0x1e3)](function(i){const o=n;i['name']['includes'](c)?Log[o(0x204)](o(0x1f7)+i['id']+o(0x1fd)+i[o(0x1e9)]+o(0x1e6)+i[o(0x1e8)]):Log['bright'](o(0x1f7)+i['id']+o(0x1fd)+i['name']+'\x20SGID:\x20'+i['sgId']);});let f='';const g=await Actions[n(0x1ec)](n(0x1e7));d['forEach'](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0x1e8)]);});if(!f)throw Log[n(0x1f2)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const h=await Actions[n(0x1e2)](n(0x1f8)+f+n(0x202),![]);h?(await b[n(0x1fa)](f),Log[n(0x200)](n(0x1fe)+f)):Log[n(0x1f2)](n(0x1ea)),process['exit'](0x0);}catch(i){i&&Log[n(0x1f2)](i),process['exit'](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a14h=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x129))/0x1*(-parseInt(f(0x134))/0x2)+-parseInt(f(0x131))/0x3*(parseInt(f(0x13e))/0x4)+parseInt(f(0x12c))/0x5+-parseInt(f(0x13c))/0x6*(-parseInt(f(0x12f))/0x7)+parseInt(f(0x13d))/0x8+parseInt(f(0x141))/0x9+parseInt(f(0x12e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0xdc44c));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(0x13b)]()[g(0x137)](g(0x139))['toString']()[g(0x136)](a14a)[g(0x137)](g(0x139));});function a14c(){const j=['success','1732670xvPvkk','4501qCCCCu','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','3pwREVV','create','maka\x20aws:list-ecr','39298PYrShE','error','constructor','search','Completed\x20listing\x20ECR\x20repositories.','(((.+)+)+)+$','lecr','toString','16194GEtBcW','722096VcyAsL','6574352YWjEWS','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','10857924NAPOuZ','exit','listAllEcrRepositories','89KLLKpY','regions','list-ecr','5445735MOgeiO'];a14c=function(){return j;};return a14c();}a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x129;let f=c[d];return f;},a14d(a,b);}Command[a14h(0x132)]({'name':a14h(0x12b),'aliases':[a14h(0x13a)],'usage':a14h(0x13f),'requiredOpts':[],'validOpts':[a14h(0x12a)],'shortDesc':a14h(0x140),'examples':[a14h(0x133),a14h(0x130),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const i=a14h;try{const {aws:c}=this;await c[i(0x143)](b[i(0x12a)]),Log[i(0x12d)](i(0x138)),process[i(0x142)](0x0);}catch(d){Log[i(0x135)]('An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20'+d),process['exit'](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d
|
|
1
|
+
const a15i=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=parseInt(f(0x155))/0x1*(parseInt(f(0x141))/0x2)+-parseInt(f(0x148))/0x3*(-parseInt(f(0x152))/0x4)+parseInt(f(0x14d))/0x5+-parseInt(f(0x147))/0x6*(-parseInt(f(0x14c))/0x7)+parseInt(f(0x14a))/0x8+parseInt(f(0x14f))/0x9*(-parseInt(f(0x142))/0xa)+parseInt(f(0x143))/0xb*(-parseInt(f(0x13a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0xaabb1));function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x139;let f=c[d];return f;},a15d(a,b);}const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a['toString']()['search'](h(0x13b))[h(0x139)]()[h(0x13e)](a15a)[h(0x13f)]('(((.+)+)+)+$');});a15a();function a15c(){const k=['constructor','search','ec2rebootInstance','4CIMYzD','5502720tIMhsi','5560489wDwErv','reboot-instance','rbi','instanceId','120YgHJeg','222ZttukZ','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','4154528eAgsGM','exit','253834vYNaug','359370jnOTwa','\x20is\x20still\x20running.','18WcViVj','maka\x20aws:reboot-instance','maka\x20aws:rbi','58732kivXCj','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','Reboot\x20an\x20EC2\x20instance','456691BLKyMt','status','\x20Ready?','chooseInstance','apply','error','toString','36xPXnZJ','(((.+)+)+)+$','name','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'];a15c=function(){return k;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a15i(0x144),'aliases':[a15i(0x145)],'usage':'maka\x20aws:reboot-instance','validOpts':[],'shortDesc':a15i(0x154),'examples':[a15i(0x150),a15i(0x151)]},async function(){const j=a15i;try{const {aws:a}=this,b=await a[j(0x158)]();if(b?.[j(0x156)]==='running'){const c=await Actions['confirm'](j(0x149)+b[j(0x13c)]+j(0x157));c&&b[j(0x146)]?a[j(0x140)]({'instanceId':b[j(0x146)]}):Log['error'](j(0x13d)+b[j(0x13c)]+j(0x14e));}else Log[j(0x15a)](j(0x153));}catch(d){d&&Log[j(0x15a)](d),process[j(0x14b)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16I=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=parseInt(F(0x110))/0x1*(parseInt(F(0x103))/0x2)+parseInt(F(0xf1))/0x3+parseInt(F(0x113))/0x4+parseInt(F(0x11a))/0x5*(parseInt(F(0x12a))/0x6)+parseInt(F(0x116))/0x7*(parseInt(F(0x102))/0x8)+parseInt(F(0x11b))/0x9*(parseInt(F(0xff))/0xa)+-parseInt(F(0x119))/0xb*(parseInt(F(0x100))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0xccde1));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a['toString']()[G(0x10b)](G(0x106))[G(0x105)]()[G(0x12d)](a16a)[G(0x10b)](G(0x106));});a16a();function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xee;let f=c[d];return f;},a16d(a,b);}import a16e from'./aws.command.js';import{Command}from'../../command.js';function a16c(){const K=['COMPANY','PUBLIC_BODY','select','\x20for\x20','confirm','118002EJMzlC','register-domain-name','notice','constructor','values','+1.5555555555','\x20years\x20(','645183BVyAJP','PERSON','create','The\x20domain\x20name:\x20','123\x20Glorious\x20Way','exit','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','domain','Honolulu','mail@example.com','Contact\x20Email\x20[mail@example.com]:\x20','error','City\x20[Honolulu]:\x20','registerDomain','9511820jCGPps','28588992sZyBXp','OrganizationName','5463976CiRlbZ','2OdUbgU','Are\x20you\x20sure?','toString','(((.+)+)+)+$','\x20is\x20available\x20for:','\x20/\x20Year)','Person','Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','search','ask','ASSOCIATION','RESELLER','warn','1023959nMDoQf','contactType','maka\x20aws:rdn\x20--domain=example.com','5494988yRvgvp','Invalid\x202\x20character\x20country\x20code','Contact\x20First\x20Name\x20[Contact]:\x20','7cuysXN','State\x20[HI]:\x20','Do\x20you\x20wish\x20to\x20register\x20','22teKVuJ','345GFRDjD','9YVjvtU','Auto\x20Renew:\x20','Address\x20Line\x202:\x20','maka\x20aws:register-domain-name\x20--domain=example.com','\x20/\x20Year\x20\x0a','maka\x20aws:register-domain-name','My\x20Company,\x20LLC.','Zip\x20Code\x20[96816]:\x20','Country\x20Code\x20[US]:\x20','+1.5555555556'];a16c=function(){return K;};return a16c();}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0xee)](CountryCode)['includes'](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0xf3)]({'name':a16I(0x12b),'aliases':['rdn'],'usage':a16I(0x120),'requiredOpts':[a16I(0xf8)],'validOpts':[],'shortDesc':a16I(0x10a),'examples':[a16I(0x11e),a16I(0x112)]},async function(a,b){const J=a16I,{aws:c}=this;try{const d=b[J(0xf8)],{available:f,cost:g}=await c['checkDomainAvailability'](d);if(f&&g){Log[J(0x12c)](J(0xf4)+d+J(0x107));const {Price:h,Currency:i}=g;Log['warn']('\x20\x20'+h+'\x20'+i+J(0x11f));const j=await Actions[J(0x129)](J(0x118)+d+'?',![]);if(j){const k={'message':'Choose\x20contact\x20type','name':J(0x111),'choices':[{'name':J(0x10d),'value':J(0x10d)},{'name':J(0x125),'value':'COMPANY'},{'name':J(0xf2),'value':'PERSON'},{'name':J(0x126),'value':J(0x126)},{'name':'RESELLER','value':J(0x10e)}]},l=await Actions[J(0x10c)]('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions['ask'](J(0x115))||'Contact',n=await Actions[J(0x10c)]('Contact\x20Last\x20Name\x20[Person]:\x20')||J(0x109),o=await Actions[J(0x127)](k),p=await Actions['ask']('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||J(0xf5),q=await Actions[J(0x10c)](J(0x11d)),r=await Actions[J(0x10c)](J(0xfd))||J(0xf9),s=await Actions[J(0x10c)](J(0x122))||'96816',t=await Actions[J(0x10c)](J(0x117))||'HI',u=await Actions[J(0x10c)](J(0x123))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[J(0xfc)](J(0x114));const w=await Actions[J(0x10c)]('Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20')||J(0xef),x=await Actions[J(0x10c)](J(0xf7))||J(0x124),y=await Actions[J(0x10c)](J(0xfb))||J(0xfa),z=await Actions['confirm'](J(0x11c)),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==J(0xf2)){const D=await Actions[J(0x10c)]('Organization\x20Name\x20[My\x20Company,\x20LLC.]:')||J(0x121);A[J(0x101)]=D;}const B=h||0x0*parseInt(l);Log[J(0x12c)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log[J(0x10f)](B+'\x20'+i+J(0x128)+l+J(0xf0)+h+'\x20'+i+J(0x108));const C=await Actions['confirm'](J(0x104));C&&await c[J(0xfe)](A,d,parseInt(l),z);}}else throw'Domain\x20name\x20is\x20unavailable';}catch(E){E&&Log[J(0xfc)](E),process[J(0xf6)](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a17k=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a17k=a17d;function a17c(){const n=['error','ec2describeKeys','create','success','270553ZqEQnI','remove-key-pair','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','confirm','forEach','apply','exit','4052628VhinCZ','maka\x20aws:remove-key-pair','4YuPeJP','13665IsuDZU','40sVlYkS','ask','14790GtxIvg','(((.+)+)+)+$','deleteKeyPair','\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','search','toString','4412880lHsfHa','Not\x20deleting\x20keypair','2380VRnXvO','rkp','Deleted\x20','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','33BVZNNo','name','458140yCosvo','1830320WcpPMO','constructor'];a17c=function(){return n;};return a17c();}(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0xba))/0x1*(-parseInt(h(0xc3))/0x2)+parseInt(h(0xc4))/0x3*(parseInt(h(0xc5))/0x4)+-parseInt(h(0xd6))/0x5+parseInt(h(0xc7))/0x6*(-parseInt(h(0xcf))/0x7)+parseInt(h(0xcd))/0x8+parseInt(h(0xc1))/0x9+parseInt(h(0xd5))/0xa*(parseInt(h(0xd3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0x7f66c));function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0xb5;let f=c[d];return f;},a17d(a,b);}const a17b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a17d;if(c){const e=c[i(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0xcc)]()[j(0xcb)](j(0xc8))[j(0xcc)]()[j(0xb5)](a17a)[j(0xcb)](j(0xc8));});a17a();import a17e 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[a17k(0xb8)]({'name':a17k(0xbb),'aliases':[a17k(0xd0)],'usage':a17k(0xc2),'validOpts':[],'shortDesc':a17k(0xd2),'description':a17k(0xca),'examples':[a17k(0xc2),'maka\x20aws:rkp']},async function(){const l=a17k,{aws:a}=this;try{const b=await a[l(0xb7)]();let c=undefined;const d=await Actions[l(0xc6)]('Please\x20choose\x20a\x20key\x20to\x20delete:');b?.[l(0xbe)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0xd4)]);});if(!c)throw Log[l(0xb6)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const f=await Actions[l(0xbd)]('Deleting\x20a\x20'+c+l(0xbc),![]);f?(await a[l(0xc9)](c),Log[l(0xb9)](l(0xd1)+c)):Log[l(0xb6)](l(0xce)),process[l(0xc0)](0x0);}catch(g){g&&Log[l(0xb6)](g),process[l(0xc0)](0x1);}},a17e);
|