@maka/maka-cli 4.13.8 → 4.13.11
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 +3 -3
- 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/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/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/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/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.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 +3 -3
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.11",
|
|
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.",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
},
|
|
17
17
|
"bugs": {
|
|
18
18
|
"url": "https://github.com/maka-io/maka-cli/issues",
|
|
19
|
-
"email": "
|
|
19
|
+
"email": "maka@maka-cli.com"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
22
|
"lint": "eslint src/ --fix",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"prepare": "husky install",
|
|
34
34
|
"install": "maka v"
|
|
35
35
|
},
|
|
36
|
-
"author": "
|
|
36
|
+
"author": "Maka <maka@maka-cli.com>",
|
|
37
37
|
"license": "MIT",
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@aws-sdk/client-ec2": "^3.414.0",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a0r=a0d;function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0x16a;let f=c[d];return f;},a0d(a,b);}(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x18f))/0x1+-parseInt(n(0x17a))/0x2*(parseInt(n(0x18a))/0x3)+parseInt(n(0x1b4))/0x4+parseInt(n(0x1ba))/0x5+parseInt(n(0x197))/0x6+-parseInt(n(0x1a2))/0x7*(-parseInt(n(0x17d))/0x8)+-parseInt(n(0x196))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0xe20e2));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x190)]()[p(0x1b1)](p(0x1ac))[p(0x190)]()['constructor'](a0a)['search'](p(0x1ac));});a0a();import a0e from'cli-table';import a0f from'./commands/maka.cmd.js';import{Log,ColorMode}from'./tools/log/log.class.js';import{Tool}from'./tool.js';import{UsageError,UsageErrorWithSubs,MustBeInProjectError,NoMeteorAppFoundError,NoMeteorFoundError,MustBeLoggedIn}from'./error.js';let _prevCmd='';function a0c(){const A=['toString','You\x20must\x20be\x20in\x20an\x20maka\x20project\x20to\x20run\x20this\x20command','tableList','_commands','generate','Too\x20many\x20arguments','21164004uTkvTi','2242728DXJVjQ','aliases','There\x20is\x20no\x20Meteor\x20application\x20here','(expermiental)\x20','getGlobalConfig','experimental','Description','match','maxOptsLength','shortDesc','Command\x20requires\x20a\x20name','8339660wUFMOv','assign','name','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','pallet','maxArgLength','fsi','maybeProxyCommandToMeteor','create','light','(((.+)+)+)+$','Please\x20run\x20\x22maka\x20login\x22','_handler','mustBeInMakaProject','exit','search','call','mustHaveMeteorInstalled','6289700ygDPmK','options','push','length','number','validateParams','5999575NEyyPZ','invoke','split','mustBeLoggedIn','apply','Command\x20requires\x20a\x20handler\x20function','addCommand\x20requires\x20a\x20Command\x20instance','Command.create\x20requires\x20a\x20handler\x20function!','minOptsLength','keys','Too\x20few\x20options','unshift','notice','forEach','find','usage','Command\x20format\x20is\x20incorrect','996278obIUHW','Alias','\x20not\x20found','8QQoCAT','bright','validateMakaSubscription','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','localeCompare','addCommand','error','function','sort','Command\x20not\x20found','run','help','Command.create\x20requires\x20some\x20options!','9YkqIZV','validateUserIsLoggedIn','header','slice','setColorMode','434387LUBqsz'];a0c=function(){return A;};return a0c();}export class Command extends Tool{['options'];['_commands'];constructor(a,b){const q=a0d;super();if(!a)throw new Error('Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object');if(!a[q(0x1a4)])throw new Error(q(0x1a1));if(typeof b!==q(0x184))throw new Error(q(0x16e));this[q(0x1b5)]=Object[q(0x1a3)]({},a),this[q(0x1a4)]=this[q(0x1b5)][q(0x1a4)],this[q(0x193)]=[],this[q(0x1ae)]=b['bind'](this);}static[a0r(0x1aa)](a,b,c){const s=a0r;if(!a)throw new Error(s(0x189));if(typeof b!==s(0x184))throw new Error(s(0x170));const d=new Command(a,b);return c=c||a0f,Object[s(0x1a3)](d,{'parent':c?.[s(0x1b5)]?.[s(0x1a4)]}),c[s(0x182)](d),d;}[a0r(0x182)](a){const t=a0r;if(!(a instanceof Command))throw new Error(t(0x16f));this[t(0x193)][t(0x1b6)](a);}async['run'](a,b){const u=a0r;try{a=a||[],b=b||{};try{const c=await this[u(0x1a8)][u(0x19b)](),d=c[u(0x1a6)]===u(0x1ab)?ColorMode['LIGHT']:ColorMode['DARK'];Log[u(0x18e)](d),await this[u(0x17f)](this);}catch(f){Log[u(0x183)](f),process[u(0x1b0)](0x0);}return await this['invoke'](a,b);}catch(g){process[u(0x1b0)](0x1);}}async[a0r(0x16a)](a,b){const v=a0r,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[v(0x1b5)];try{if(this[v(0x1b5)]['name']!==v(0x194)){if(!isRoot){const g=(a[0x0]===_prevCmd||a['length']===0x0)&&this[v(0x193)]['length']>=0x0,h=b[v(0x188)]||b['h'];if(g&&h){if(this[v(0x193)][v(0x1b7)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this['options'][v(0x1af)]){const i=this['validateMakaProject']();if(!i)throw new MustBeInProjectError();}if(this[v(0x1b5)][v(0x16c)]){const j=await this[v(0x18b)]();if(!j)throw new MustBeLoggedIn();}if(this['options'][v(0x1b3)]){const k=this['validateMeteorInstall']();if(!k)throw new NoMeteorFoundError();}if(typeof this[v(0x1b5)]['minArgLength']===v(0x1b8)){if(a[v(0x1b7)]<this[v(0x1b5)]['minArgLength']){Log[v(0x183)]('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[v(0x1b5)][v(0x1a7)]===v(0x1b8)){if(a[v(0x1b7)]>=this[v(0x1b5)][v(0x1a7)]){Log[v(0x183)](v(0x195));throw new UsageError();}}if(typeof this['options']['minOptsLength']===v(0x1b8)){if(Object[v(0x172)](b)['length']<this[v(0x1b5)][v(0x171)]){Log[v(0x183)](v(0x173));throw new UsageError();}}if(typeof this[v(0x1b5)][v(0x19f)]===v(0x1b8)){if(Object[v(0x172)](b)[v(0x1b7)]>=this['options']['maxOptsLength']){Log['error']('Too\x20many\x20options');throw new UsageError();}}}}b=await this[v(0x1b9)](a,b,this[v(0x1b5)]),_prevCmd=a[0x0];}return await this[v(0x1ae)][v(0x1b2)](this,a,b);}catch(l){Log[v(0x178)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[v(0x175)]('Sub-Commands:'),this[v(0x192)](this['_commands']),Log[v(0x18c)](v(0x1a5));else{if(l instanceof MustBeInProjectError)Log[v(0x183)](v(0x191));else{if(l instanceof NoMeteorFoundError)Log[v(0x183)](v(0x180)),Log[v(0x175)]('Please\x20run\x20\x22maka\x20install\x20meteor\x22');else{if(l instanceof NoMeteorAppFoundError)Log[v(0x183)](v(0x199));else l instanceof MustBeLoggedIn&&(Log[v(0x183)]('You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command'),Log[v(0x175)](v(0x1ad)));}}}process[v(0x1b0)](0x1);}}[a0r(0x192)](a){const w=a0r,b=new a0e({});b[w(0x1b6)](['Name',w(0x17b),w(0x19d)]),a[w(0x185)]((c,d)=>{const x=w;return c[x(0x1a4)][x(0x181)](d['name']);})[w(0x176)](c=>{const y=w;if(c[y(0x1a4)]!=='murder'&&c[y(0x1a4)]!=='play'){const d=c[y(0x19c)](),e=d?y(0x19a)+c[y(0x1a0)]():c[y(0x1a0)]();b['push']([c['name'],c[y(0x198)](),e]);}}),Log[w(0x17e)](b[w(0x190)]());}async['processAndRunCommand'](a,b=[],c={}){const z=a0r;try{const d=a?.[z(0x16b)](':');if(!d||d['length']===0x0)throw z(0x179);if(d[0x0]===z(0x194)||d[0x0]==='g'&&d[z(0x1b7)]>0x1){const h=this[z(0x193)][z(0x177)](j=>j[z(0x19e)](z(0x194)));if(!h)throw'Command\x20not\x20found';await this[z(0x17f)](h);const i=d[z(0x18d)](0x1)['join'](':');return b[z(0x174)](i),await h[z(0x187)](b,c);}let f=this[z(0x193)],g;for(const j of d){g=f[z(0x177)](k=>k[z(0x19e)](j));if(!g)try{await this[z(0x1a8)][z(0x1a9)]();}catch(k){throw'Command\x20'+j+z(0x17c);}g&&(await this[z(0x17f)](g),f=g[z(0x193)]);}if(g){const l=await g[z(0x187)](b,c);return l;}else throw z(0x186);}catch(m){Log[z(0x183)](m),process[z(0x1b0)](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(0x136))/0x1*(-parseInt(f(0x130))/0x2)+-parseInt(f(0x133))/0x3*(parseInt(f(0x12a))/0x4)+-parseInt(f(0x12c))/0x5+-parseInt(f(0x131))/0x6+parseInt(f(0x12d))/0x7+-parseInt(f(0x12e))/0x8+-parseInt(f(0x12f))/0x9*(-parseInt(f(0x135))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x2a226));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['toString']()['search'](g(0x134))[g(0x129)]()[g(0x12b)](a1a)[g(0x132)](g(0x134));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0x129;var f=c[d];return f;},a1d(a,b);}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';import'./test.js';import'./version.js';import'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./register.js';function a1c(){var h=['1caxhnx','toString','767164KvGlNq','constructor','1368205NRHVoP','1160320FWqzuo','690848ZZmkca','8321364wsjAJg','227068QwjSSZ','1514712dblBBP','search','3jEgiyk','(((.+)+)+)+$','10lYTbsA'];a1c=function(){return h;};return a1c();}import'./patreon.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d
|
|
1
|
+
const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=parseInt(h(0xf8))/0x1*(parseInt(h(0xf5))/0x2)+-parseInt(h(0x102))/0x3*(parseInt(h(0xfe))/0x4)+parseInt(h(0xec))/0x5+-parseInt(h(0xeb))/0x6+-parseInt(h(0xf7))/0x7*(parseInt(h(0xed))/0x8)+-parseInt(h(0xff))/0x9+parseInt(h(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0xdf229));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a['toString']()[j(0xf2)](j(0xf1))['toString']()['constructor'](a2a)[j(0xf2)](j(0xf1));});function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0xe5;let f=c[d];return f;},a2d(a,b);}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(0x109)]({'input':process[k(0xf4)],'output':process[k(0x106)]});c[k(0xe6)](k(0xe9),async d=>{const l=k;if(d[l(0x105)]()===l(0xfb)){c[l(0x101)]();return;}try{const e=await HTTPS[l(0xfa)]({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0xf9)](e['data']);if(f[l(0x10b)])throw new Error(f[l(0x10b)]['message']);Log[l(0x108)]('GPT:\x20'+f?.['choices'][0x0]?.[l(0xf0)][l(0xf6)]());}catch(g){Log[l(0x10b)](g),process[l(0xfb)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};function a2c(){const o=['error','apply','question','20432380dpSeRZ','openai','You:\x20','openapikey','4134840RVLmOH','588835DUJoXd','2984XkTbjM','ChatGPT\x20style\x20AI\x20interface','getGlobalConfig','text','(((.+)+)+)+$','search','cacert','stdin','2108666yysVMf','trim','6622yYYGgH','1NbRXGF','parse','askGPT','exit','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','notice','4ONNfjr','9753462BpfxQB','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','close','526983zzdjqp','fsi','isFile','toLowerCase','stdout','create','bright','createInterface','cert'];a2c=function(){return o;};return a2c();}Command[a2m(0x107)]({'name':'ai','description':a2m(0xee),'validOpts':[a2m(0xf3),a2m(0xea)],'shortDesc':a2m(0xee),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b['cacert']&&(this['fsi'][n(0x104)](b[n(0xf3)])?(c=b[n(0xf3)],Log[n(0xfd)]('Using\x20CA\x20Cert\x20'+c)):Log['error'](n(0xfc)+c));const d=await this[n(0x103)][n(0xef)]();if(d[n(0x10a)]){if(this[n(0x103)][n(0x104)](d[n(0x10a)]))c=d['cert'];else throw Log['error'](n(0x100)+c);}let f='';if(b[n(0xea)])f=b[n(0xea)],Log[n(0xfd)]('Using\x20OpenAI\x20Key\x20'+f);else{if(d[n(0xe8)])f=d[n(0xe8)];else throw Log[n(0x10b)]('OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json');}Log['bright']('Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.'),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console['error'](g),process[n(0xfb)](0x1);}});
|
|
@@ -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(0x84))/0x1*(parseInt(f(0x7c))/0x2)+parseInt(f(0x7f))/0x3*(parseInt(f(0x78))/0x4)+-parseInt(f(0x77))/0x5+parseInt(f(0x7a))/0x6*(-parseInt(f(0x79))/0x7)+parseInt(f(0x75))/0x8*(-parseInt(f(0x7d))/0x9)+parseInt(f(0x83))/0xa*(-parseInt(f(0x82))/0xb)+parseInt(f(0x76))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0x7b4bd));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0x80)]()[h(0x81)]('(((.+)+)+)+$')[h(0x80)]()[h(0x7e)](a3a)['search']('(((.+)+)+)+$');});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';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';function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0x75;var f=c[d];return f;},a3d(a,b);}import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';function a3c(){var i=['4SeTKiQ','7ykZjkb','5757534oaZMYF','apply','6CmxRtc','9EbqfZh','constructor','2658813ASSHPr','toString','search','424919ZAnFwY','180TtUbmY','136866oZMfGH','3510688oIUFlK','36764796btHkgt','4703190VivJHG'];a3c=function(){return i;};return a3c();}import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=-parseInt(f(0x15d))/0x1*(-parseInt(f(0x157))/0x2)+parseInt(f(0x150))/0x3*(-parseInt(f(0x15f))/0x4)+parseInt(f(0x154))/0x5+-parseInt(f(0x152))/0x6*(parseInt(f(0x155))/0x7)+-parseInt(f(0x160))/0x8+parseInt(f(0x151))/0x9*(parseInt(f(0x15b))/0xa)+parseInt(f(0x15c))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x4eafe));function a4c(){const j=['toString','search','6135fuFcoY','32886IZqMeZ','902034UYyMLf','(((.+)+)+)+$','1750410PxLRCX','14OMVRYX','constructor','644802VOLwKe','apply','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','maka\x20aws:<sub-command>','990EwItdc','276804EvFCGy','1qgzJVe','create','212iyAULk','2624224BpdSfr'];a4c=function(){return j;};return a4c();}const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x158)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a[h(0x161)]()[h(0x14f)](h(0x153))[h(0x161)]()[h(0x156)](a4a)['search']('(((.+)+)+)+$');});a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command[a4i(0x15e)]({'name':'aws','usage':a4i(0x15a),'validOpts':[],'shortDesc':a4i(0x159),'description':'\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20'},async function(){throw UsageError;});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x14f;let f=c[d];return f;},a4d(a,b);}export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a5i=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d
|
|
1
|
+
const a5i=a5d;(function(a,b){const g=a5d,c=a();while(!![]){try{const d=parseInt(g(0x1a3))/0x1*(-parseInt(g(0x197))/0x2)+parseInt(g(0x1a5))/0x3+parseInt(g(0x19b))/0x4+parseInt(g(0x1a9))/0x5+-parseInt(g(0x198))/0x6+-parseInt(g(0x19a))/0x7*(parseInt(g(0x19f))/0x8)+parseInt(g(0x1aa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xdacab));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 h=a5d;return a5a[h(0x18f)]()[h(0x18c)](h(0x196))[h(0x18f)]()[h(0x19e)](a5a)[h(0x18c)](h(0x196));});function a5c(){const k=['toString','repositoryUri','ecrCreateRepository','$metadata','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','create','success','(((.+)+)+)+$','1316054wDjURU','7355502bOMbiE','exit','21CHaeQe','6829132evLPMt','create-ecr','maka\x20aws:cecr\x20--name=my-new-repo','constructor','3558792IidpfB','cecr','notice','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1','1dPKSUg','Repository\x20URI:\x20','2770380vApClF','maka\x20aws:create-ecr\x20--name=my-new-repo','Create\x20an\x20Elastic\x20Container\x20Repository','name','6644350BLJJGb','1395441bTTxmI','error','search','repository','Repository\x20created\x20successfully.'];a5c=function(){return k;};return a5c();}a5a();import a5e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x18c;let f=c[d];return f;},a5d(a,b);}Command[a5i(0x194)]({'name':a5i(0x19c),'aliases':[a5i(0x1a0)],'usage':'maka\x20aws:create-ecr','requiredOpts':[a5i(0x1a8)],'validOpts':['region'],'shortDesc':a5i(0x1a7),'examples':[a5i(0x1a6),a5i(0x19d),a5i(0x1a2)]},async function(a,b){const j=a5i;try{const c=new AWS(),d=await c[j(0x191)](b);d&&d[j(0x192)]['httpStatusCode']===0xc8&&d[j(0x18d)]?(Log[j(0x195)](j(0x18e)),Log[j(0x1a1)](j(0x1a4)+d[j(0x18d)][j(0x190)])):Log['error'](j(0x193)),process[j(0x199)](0x0);}catch(f){Log[j(0x1ab)](f),process[j(0x199)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=-parseInt(i(
|
|
1
|
+
function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0x1e1;let f=c[d];return f;},a6d(a,b);}function a6c(){const n=['6kNyMem','265855EnZZaq','181048SfRYvb','(((.+)+)+)+$','10473FcWFIL','2ubEjrW','maka\x20aws:create-hosted-zone','confirm','1544760oCsNRN','22RwhcGh','164270QQYCoG','15692DAFLbG','chooseInstance','Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address','create','domain','search','publicIp','route53CreateHostedZone','toString','apply','maka\x20aws:chz\x20--domain=example.com','1534351IpscOT','linkEC2ToRoute53','exit','Set\x20hosted\x20zone\x20to\x20an\x20instance?','33MomYCA'];a6c=function(){return n;};return a6c();}const a6l=a6d;(function(a,b){const i=a6d,c=a();while(!![]){try{const d=-parseInt(i(0x1e4))/0x1*(-parseInt(i(0x1e5))/0x2)+-parseInt(i(0x1fa))/0x3*(-parseInt(i(0x1eb))/0x4)+parseInt(i(0x1e1))/0x5+parseInt(i(0x1fb))/0x6*(parseInt(i(0x1f6))/0x7)+parseInt(i(0x1e2))/0x8+-parseInt(i(0x1e8))/0x9+parseInt(i(0x1ea))/0xa*(-parseInt(i(0x1e9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x232ff));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a6d;if(c){const e=c[j(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const k=a6d;return a6a[k(0x1f3)]()['search']('(((.+)+)+)+$')[k(0x1f3)]()['constructor'](a6a)[k(0x1f0)](k(0x1e3));});a6a();import a6e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6l(0x1ee)]({'name':'create-hosted-zone','aliases':['chz'],'usage':a6l(0x1e6),'requiredOpts':['domain'],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':['maka\x20aws:create-hosted-zone\x20--domain=example.com',a6l(0x1f5)]},async function(a,b){const m=a6l;try{const c=b[m(0x1ef)],d=new AWS();d[m(0x1f2)](c);const f=await Actions[m(0x1e7)](m(0x1f9));if(f){const g=await d[m(0x1ec)]();if(g?.['id']){if(!g[m(0x1f1)])throw Log['error'](m(0x1ed));d[m(0x1f7)](g['id'],g[m(0x1f1)],c);}else throw'Instance\x20not\x20found';}}catch(h){h&&Log['error'](h),process[m(0x1f8)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0xda))/0x1+parseInt(Y(0xf1))/0x2+parseInt(Y(0xd7))/0x3*(parseInt(Y(0xf3))/0x4)+-parseInt(Y(0x108))/0x5*(-parseInt(Y(0xc5))/0x6)+-parseInt(Y(0x10d))/0x7+parseInt(Y(0x105))/0x8*(-parseInt(Y(0xef))/0x9)+parseInt(Y(0xd1))/0xa*(-parseInt(Y(0xf7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0xf100e));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(0xd0)]()[Z(0xe5)]('(((.+)+)+)+$')[Z(0xd0)]()[Z(0xfc)](a7a)[Z(0xe5)](Z(0xdf));});a7a();function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xc2;let f=c[d];return f;},a7d(a,b);}import a7e from'./aws.command.js';import a7f from'path';import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';function a7c(){const a2=['117381HUGzpI','ec2createSG','Instance\x20Count:\x20','listAvailableAMIs','Setting\x20the\x20key-pair\x20to:\x20','constructor','maka\x20aws:create-instance','error','Remove\x20the\x20security\x20group\x20','Create\x20new\x20AWS\x20instance','env','**\x20Available\x20key-pairs\x20**','\x0a\x20\x20Walk\x20through\x20a\x20list\x20of\x20questions\x20that\x20will\x20properly\x20provision\x20a\x20new\x20EC2\x0a\x20\x20instance.\x0a\x0a\x20\x20Once\x20created,\x20you\x20will\x20begin\x20to\x20be\x20billed\x20for\x20the\x20resource!\x0a\x20\x20','Key-Pair:\x20','3868456NMBMNq','deleteKeyPair','maka-cli','4390xflMHr','success','t3.micro','listAvailableSubnets','exit','4495946uRlQyj','getAppConfigPath','created-by','maka\x20aws:ci\x20--env\x20prod','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','ImageID:','7926krFAbh','ec2create','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','maka\x20aws:create-instance\x20--env\x20dev','environment','unlinkSync','22,80,443','string','Remove\x20the\x20keypair\x20','Web\x20App','chooseSecurityGroup','toString','20bbBqyl','Name','deleteSecurityGroup','chooseVPC','How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20','EC2\x20Name:\x20[','429IyktsA','Please\x20choose\x20a\x20key\x20to\x20use:\x20','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','259686kxLUbm','getMakaProjectConfig','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','createKeyPair','createFile','(((.+)+)+)+$','confirm','1:1','Subnet:\x20','number','Setting\x20the\x20number\x20of\x20instances\x20to:\x20','search','User\x20Data:','name','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','join','notice','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','No\x20instance\x20has\x20been\x20created.','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','Security\x20Group:\x20','27WRWAPL','fsi','2070820sdCWbm','getSubnetCidr','32612pPhUEq','ask','split','Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'];a7c=function(){return a2;};return a7c();}import{AWS}from'../../tools/aws/aws.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';Command['create']({'name':'create-instance','aliases':['ci'],'usage':a7a0(0xfd),'examples':[a7a0(0xc8),a7a0(0x110)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0x101)}],'validOpts':[],'shortDesc':a7a0(0x100),'description':a7a0(0x103)},async function(a,b){const a1=a7a0;try{const c=this['fsi'][a1(0xdb)](),d=new AWS(),f=new FSI(),{appName:g}=c,h=this[a1(0xf0)]['getEnvFromShorthand'](b[a1(0x101)]),i=this[a1(0xf0)][a1(0x10e)](h),j=g+'-'+h,k=await Actions[a1(0xf4)](a1(0xd6)+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a1(0xe0)](a1(0xc2),!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await d[a1(0xdd)]({'env':h});r=y,s=z,Log[a1(0x109)](a1(0xfb)+r);}else try{Log[a1(0xea)](a1(0x102));const A=r?r:k,B=await d['ec2describeKeys']({'suggestion':A}),C=await Actions[a1(0xf4)](a1(0xd8))||'-1';if(parseInt(C)<0x0){Log[a1(0xfe)](a1(0xeb)),Log[a1(0xea)](a1(0xec));return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0xe7)],Log['success'](a1(0xfb)+r);break;}}}catch(E){Log[a1(0xfe)](E);}l=await d[a1(0xd4)]();const t=await Actions[a1(0xe0)](a1(0xdc),!![]);let u;if(t){const F=l===''?await d[a1(0xd4)]():l;u=await Actions['ask']('Security\x20Group\x20Name:\x20['+k+']')||k;const G=await Actions['ask'](a1(0xc7))||a1(0xcb),H=G[a1(0xf5)](',');await d[a1(0xf8)]({'description':a1(0xce),'name':u,'vpcId':F,'sgPorts':H});}u=k,m=await d[a1(0xcf)](u),n=await d[a1(0xfa)](),p=await d[a1(0x10b)]();const v=0x1,w=0x1;try{const I=await Actions[a1(0xf4)](a1(0xd5))||a1(0xe1),J=I[a1(0xf5)](':')[0x0],K=I[a1(0xf5)](':')[0x1];typeof parseInt(J)===a1(0xe3)&&typeof parseInt(K)===a1(0xe3)&&Log[a1(0x109)](a1(0xe4)+J+':'+K);}catch(L){Log[a1(0xfe)](L);}try{const M=await Actions[a1(0xf4)](a1(0xe8))||a1(0x10a);typeof M===a1(0xcc)&&(o=M);}catch(N){Log[a1(0xfe)](N);}let x='';try{const O=await Actions[a1(0xe0)]('Would\x20you\x20like\x20to\x20include\x20user\x20data?',![]);O&&(x=a7f[a1(0xe9)](i,'user-data'),Log[a1(0xea)]('Creating\x20user\x20data\x20file\x20in\x20'+x),await this[a1(0xf0)][a1(0xde)]({'filePath':x,'data':''}),await Actions[a1(0xe0)](a1(0xed)));}catch(P){Log[a1(0xfe)](P);}try{const Q=await d[a1(0xf2)](p);Log[a1(0xea)](a1(0xc4)+n),Log[a1(0xea)](a1(0xf9)+v+':'+w),Log[a1(0xea)]('Instace\x20Type:\x20'+o),Log[a1(0xea)](a1(0x104)+r),Log['notice'](a1(0xee)+m),Log[a1(0xea)](a1(0xe2)+Q);if(x){Log[a1(0xea)](a1(0xe6)+x);const S=a7g['readFileSync'](x)['toString']();Log[a1(0xea)](S);}const R=await Actions[a1(0xe0)](a1(0x111));if(R){const T=await d[a1(0xc6)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a1(0x10f),'Value':a1(0x107)},{'Key':a1(0xc9),'Value':h},{'Key':a1(0xd2),'Value':k}],...x&&{'userData':x}});T&&(Log[a1(0x109)](a1(0xf6)),Log['bright'](a1(0xd9)));}else{Log[a1(0xea)](a1(0xc3));const U=await Actions[a1(0xe0)](a1(0xcd)+r+'\x20?',!![]);U&&(d[a1(0x106)](r),f['isFile'](s)&&a7g[a1(0xca)](s));const V=await Actions[a1(0xe0)](a1(0xff)+m+'\x20?',!![]);V&&d[a1(0xd3)](m);}}catch(W){Log[a1(0xfe)](W);}}catch(X){X&&Log[a1(0xfe)](X),process[a1(0x10c)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=parseInt(g(0x15e))/0x1+-parseInt(g(0x16d))/0x2+parseInt(g(0x16f))/0x3+-parseInt(g(0x160))/0x4+parseInt(g(0x16a))/0x5+-parseInt(g(0x161))/0x6*(-parseInt(g(0x16c))/0x7)+-parseInt(g(0x168))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xaebae));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x163)]()[i(0x169)](i(0x173))[i(0x163)]()[i(0x15f)](a8a)[i(0x169)]('(((.+)+)+)+$');});a8a();function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x15e;let f=c[d];return f;},a8d(a,b);}function a8c(){const l=['8048384aNbzYO','search','3362120yfXdlN','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','175lhZQWs','2004928tvhcBH','apply','3564378OHmwwQ','getEnvFromShorthand','maka\x20aws:create-key-pair\x20--env\x20prod','exit','(((.+)+)+)+$','fsi','1240286BhAPlE','constructor','5281620ObsoIY','226506AqFUMj','create','toString','\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','maka\x20aws:ckp\x20--env\x20prod','ckp','createKeyPair'];a8c=function(){return l;};return a8c();}import a8e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command[a8j(0x162)]({'name':'create-key-pair','aliases':[a8j(0x166)],'usage':'maka\x20aws:create-key-pair','examples':[a8j(0x171),a8j(0x165)],'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a8j(0x16b),'description':a8j(0x164)},async function(a,b){const k=a8j;try{const c=new AWS(),d=this[k(0x174)][k(0x170)](b['env']);c[k(0x167)]({'env':d});}catch(f){f&&Log['error'](f),process[k(0x172)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x167))/0x1*(parseInt(m(0x17d))/0x2)+parseInt(m(0x176))/0x3+-parseInt(m(0x16e))/0x4*(-parseInt(m(0x174))/0x5)+parseInt(m(0x172))/0x6+-parseInt(m(0x184))/0x7*(parseInt(m(0x17f))/0x8)+-parseInt(m(0x180))/0x9+parseInt(m(0x175))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xb9200));const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x181)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x170)]()[o(0x182)](o(0x17b))[o(0x170)]()[o(0x16a)](a9a)[o(0x182)](o(0x17b));});a9a();function a9c(){const s=['toString','forEach','5532972Rxxtgn','name','5234930HmXJia','13485420bCXHMQ','410613mcyqSJ','csg','maka\x20aws:create-secuirty-group','ask','chooseVPC','(((.+)+)+)+$','getMakaProjectConfig','2jwLmLN','fsi','9160LxvesA','10285857kbILVg','apply','search','split','5040ATdiyp','match','List\x20is\x20not\x20all\x20numbers','729016eJfRFv','create-security-group','Web\x20App','constructor','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','ec2createSG','22,80,443','4XhFdgw','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2'];a9c=function(){return s;};return a9c();}function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x165;let f=c[d];return f;},a9d(a,b);}import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9p(0x168),'aliases':[a9p(0x177)],'usage':'maka\x20aws\x20create-security-group','validOpts':[],'shortDesc':a9p(0x16f),'description':'\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','examples':[a9p(0x178),'maka\x20aws:csg']},async function(a,b){const q=a9p;try{const c=new AWS(),d=this[q(0x17e)][q(0x17c)](),{appName:f}=d,g=await c[q(0x17a)](),h=b[q(0x173)]?b['name']:''+f,i=await Actions[q(0x179)]('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions[q(0x179)](q(0x16b))||q(0x16d),k=j[q(0x183)](',');k[q(0x171)](l=>{const r=q;if(!l[r(0x165)](/^\d+$/))throw r(0x166);}),await c[q(0x16c)]({'description':q(0x169),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log['error'](l),process['exit'](0x1);}},a9e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a10i=a10d;(function(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0x1e9))/0x1+parseInt(f(0x1df))/0x2*(-parseInt(f(0x1dc))/0x3)+parseInt(f(0x1ea))/0x4*(-parseInt(f(0x1e0))/0x5)+parseInt(f(0x1da))/0x6+-parseInt(f(0x1d8))/0x7*(-parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1d9))/0x9*(parseInt(f(0x1ee))/0xa)+parseInt(f(0x1d4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0xb919d));const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()[h(0x1e2)]('(((.+)+)+)+$')[h(0x1e7)]()['constructor'](a10a)['search'](h(0x1eb));});a10a();import a10e from'./aws.command.js';import{Command}from'../../command.js';function a10c(){const k=['name','decr','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','success','toString','\x20in\x20region\x20','85087ptjlbS','5435348wHEtQc','(((.+)+)+)+$','ecrDeleteRepository','Delete\x20an\x20Elastic\x20Container\x20Repository','30xOrVDL','error','.\x20Error:\x20','12167518JBnfOI','7915528LJEePs','delete-ecr','create','7fCiVqS','1103913riFRKw','6457260kaNYaD','apply','3JcuGxu','Failed\x20to\x20delete\x20the\x20repository:\x20','Repository\x20','1543790hNlSah','5nZlScm','region','search'];a10c=function(){return k;};return a10c();}import{AWS}from'../../tools/aws/aws.class.js';function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a10d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a10i(0x1d7)]({'name':a10i(0x1d6),'aliases':[a10i(0x1e4)],'usage':'maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','requiredOpts':['name',a10i(0x1e1)],'validOpts':[],'shortDesc':a10i(0x1ed),'examples':['maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1',a10i(0x1e5)]},async function(a,b){const j=a10i;try{const c=new AWS();await c[j(0x1ec)]({'repoName':b['name'],'region':b[j(0x1e1)]}),Log[j(0x1e6)](j(0x1de)+b[j(0x1e3)]+'\x20deleted\x20successfully\x20in\x20region\x20'+b['region']+'.'),process['exit'](0x0);}catch(d){Log[j(0x1ef)](j(0x1dd)+b[j(0x1e3)]+j(0x1e8)+b[j(0x1e1)]+j(0x1f0)+d),process['exit'](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0x10a))/0x1*(-parseInt(f(0xf9))/0x2)+-parseInt(f(0xfd))/0x3*(-parseInt(f(0xfc))/0x4)+parseInt(f(0xf8))/0x5*(parseInt(f(0xf6))/0x6)+-parseInt(f(0xf7))/0x7*(-parseInt(f(0x105))/0x8)+-parseInt(f(0xf5))/0x9*(parseInt(f(0x101))/0xa)+-parseInt(f(0x102))/0xb*(-parseInt(f(0x107))/0xc)+-parseInt(f(0x104))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0xda95b));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0x103)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a['toString']()[h(0xfb)](h(0x109))[h(0x100)]()['constructor'](a11a)['search'](h(0x109));});function a11c(){const k=['2772136HSSRZe','maka\x20aws:di','15228168VlfrUq','maka\x20aws:describe-instances','(((.+)+)+)+$','54173kZzbTQ','describe-instances','create','19566uwCSQw','72IkSffx','14ozrJft','495745rEudgy','46AHfuxd','error','search','219052IwPqSa','33mXiNpO','exit','\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','toString','6940lrWlHI','11kudaAq','apply','1354223CwPhlq'];a11c=function(){return k;};return a11c();}a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xf5;let f=c[d];return f;},a11d(a,b);}Command[a11i(0x10c)]({'name':a11i(0x10b),'aliases':['di'],'usage':a11i(0x108),'validOpts':[],'shortDesc':'Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','examples':[a11i(0x108),a11i(0x106)],'description':a11i(0xff)},async function(){const j=a11i;try{const a=new AWS();a['ec2describeInstances']();}catch(b){b&&Log[j(0xfa)](b),process[j(0xfe)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a12i=a12d;(function(a,b){const f=a12d,c=a();while(!![]){try{const d=parseInt(f(0x1aa))/0x1*(parseInt(f(0x1ae))/0x2)+-parseInt(f(0x1a0))/0x3+-parseInt(f(0x1b0))/0x4+parseInt(f(0x1a3))/0x5*(-parseInt(f(0x1ac))/0x6)+parseInt(f(0x1ab))/0x7+parseInt(f(0x19d))/0x8*(-parseInt(f(0x1a8))/0x9)+-parseInt(f(0x19f))/0xa*(-parseInt(f(0x1a5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0xde5e6));const a12b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a12d;if(c){const e=c[g(0x19e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){const h=a12d;return a12a[h(0x1a7)]()['search'](h(0x1a2))[h(0x1a7)]()[h(0x1a9)](a12a)[h(0x1b1)](h(0x1a2));});a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';function a12d(a,b){const c=a12c();return a12d=function(d,e){d=d-0x19d;let f=c[d];return f;},a12d(a,b);}import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';function a12c(){const k=['toString','4374odIdOK','constructor','1692960NfDOfV','2172114zyVGSW','210VlqBxV','error','2bPtyhR','ec2describeKeys','4640504qnKypk','search','maka\x20aws:describe-key-pairs','2152uchHEZ','apply','121330OouJjE','2908863AQsTZd','create','(((.+)+)+)+$','27265zHfsve','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','1232wknfoH','dkp'];a12c=function(){return k;};return a12c();}Command[a12i(0x1a1)]({'name':'describe-key-pairs','aliases':[a12i(0x1a6)],'usage':a12i(0x1b2),'validOpts':[],'shortDesc':a12i(0x1a4),'examples':[a12i(0x1b2),'maka\x20aws:dkp']},async function(){const j=a12i;try{const a=new AWS();a[j(0x1af)]();}catch(b){b&&Log[j(0x1ad)](b),process['exit'](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d
|
|
1
|
+
const a13o=a13d;(function(a,b){const l=a13d,c=a();while(!![]){try{const d=parseInt(l(0x187))/0x1+parseInt(l(0x196))/0x2+parseInt(l(0x1a6))/0x3+parseInt(l(0x1a2))/0x4*(parseInt(l(0x195))/0x5)+-parseInt(l(0x190))/0x6+parseInt(l(0x18e))/0x7*(parseInt(l(0x18b))/0x8)+-parseInt(l(0x191))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x665b2));function a13c(){const s=['224RuSVGI','Deleting\x20a\x20','search','83335IXINSM','ID:\x20','113718vSsmpW','6492447tZjIsF','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','confirm','dsg','60530QWhJiW','931334dWfiiy','delete-security-group','forEach','success','isMakaProject','error','apply','toString','exit','name','appName','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','12ezKguB','maka\x20aws:delete-sg','sgId','getMakaProjectConfig','243765GTjEXF','maka\x20aws:dsg','Not\x20deleting\x20secuirty\x20group','Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','bright','\x20SGID:\x20','ask','(((.+)+)+)+$','243006dzrpSA','deleteSecurityGroup','constructor','\x20SG\x20NAME:\x20'];a13c=function(){return s;};return a13c();}const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a13d;if(c){const e=c[m(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const n=a13d;return a13a[n(0x19d)]()['search'](n(0x186))['toString']()[n(0x189)](a13a)[n(0x18d)](n(0x186));});a13a();import a13e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{FSI}from'../../tools/fsi/fsi.class.js';import{AWS}from'../../tools/aws/aws.class.js';function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x183;let f=c[d];return f;},a13d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';Command['create']({'name':a13o(0x197),'aliases':[a13o(0x194)],'usage':a13o(0x1a3),'validOpts':[],'shortDesc':a13o(0x1a9),'examples':[a13o(0x1a3),a13o(0x1a7)]},async function(){const p=a13o;try{const a=new AWS(),b=new FSI(),c=b[p(0x19a)]();let d='';if(c){const j=b[p(0x1a5)]();d=j[p(0x1a0)];}const {sgList:f}=await a['getSecurityGroups']();f[p(0x198)](function(k){const q=p;c&&k[q(0x19f)]['includes'](d)?Log['notice'](q(0x18f)+k['id']+q(0x18a)+k[q(0x19f)]+q(0x184)+k[q(0x1a4)]):Log[q(0x183)](q(0x18f)+k['id']+q(0x18a)+k[q(0x19f)]+'\x20SGID:\x20'+k['sgId']);});let g='';const h=await Actions[p(0x185)](p(0x192));f[p(0x198)](function(k){const r=p;k['id']===parseInt(h)&&(g=k[r(0x1a4)]);});if(!g)throw Log['error']('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const i=await Actions[p(0x193)](p(0x18c)+g+p(0x1a1),![]);i?(await a[p(0x188)](g),Log[p(0x199)]('Deleted\x20'+g)):Log[p(0x19b)](p(0x1a8)),process[p(0x19e)](0x0);}catch(k){k&&Log[p(0x19b)](k),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(0x98))/0x1*(parseInt(f(0x9f))/0x2)+-parseInt(f(0xa4))/0x3*(-parseInt(f(0x96))/0x4)+-parseInt(f(0x93))/0x5*(-parseInt(f(0xa7))/0x6)+-parseInt(f(0x8c))/0x7+-parseInt(f(0x91))/0x8*(parseInt(f(0x9e))/0x9)+-parseInt(f(0x8d))/0xa*(-parseInt(f(0xa0))/0xb)+-parseInt(f(0xa3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x31bde));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(0xa1)]()[g(0x99)](g(0xa6))[g(0xa1)]()[g(0x90)](a14a)[g(0x99)]('(((.+)+)+)+$');});a14a();function a14c(){const j=['search','maka\x20aws:lecr\x20--regions=all','listAllEcrRepositories','List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','regions','95346jzEcwJ','2RXcYCr','1791229piccrE','toString','An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20','1885152PmArnS','186MYFkak','error','(((.+)+)+)+$','5370YFhGMq','2532061PhdLTP','10UPIRvi','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','constructor','248yDUbns','exit','975lHRHGV','maka\x20aws:list-ecr','list-ecr','25532MLiMEo','Completed\x20listing\x20ECR\x20repositories.','317865BZlsKM'];a14c=function(){return j;};return a14c();}import a14e from'./aws.command.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x8c;let f=c[d];return f;},a14d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a14h(0x95),'aliases':['lecr'],'usage':a14h(0x8f),'requiredOpts':[],'validOpts':[a14h(0x9d)],'shortDesc':a14h(0x9c),'examples':[a14h(0x94),a14h(0x8e),a14h(0x9a)]},async function(a,b){const i=a14h;try{const c=new AWS();await c[i(0x9b)](b[i(0x9d)]),Log['success'](i(0x97)),process[i(0x92)](0x0);}catch(d){Log[i(0xa5)](i(0xa2)+d),process['exit'](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a15i=a15d;function a15c(){const k=['There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','3653192mqAEZX','search','create','686949HYKHih','5214305OiuHTj','confirm','45437uosdZO','3238212BjKFXu','30727160LrqCVF','(((.+)+)+)+$','\x20Ready?','9xfApiX','maka\x20aws:reboot-instance','You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20','maka\x20aws:rbi','instanceId','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','error','toString','running','apply','reboot-instance','18hEyonE','Reboot\x20an\x20EC2\x20instance','name','6fTmKIb','8552796ehAMkN'];a15c=function(){return k;};return a15c();}(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0x16c))/0x1*(-parseInt(f(0x160))/0x2)+-parseInt(f(0x169))/0x3+parseInt(f(0x16d))/0x4+parseInt(f(0x16a))/0x5+-parseInt(f(0x163))/0x6*(-parseInt(f(0x164))/0x7)+parseInt(f(0x166))/0x8*(parseInt(f(0x155))/0x9)+-parseInt(f(0x16e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x9bcad));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a15d;if(c){const e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const h=a15d;return a15a[h(0x15c)]()['search'](h(0x16f))[h(0x15c)]()['constructor'](a15a)[h(0x167)](h(0x16f));});a15a();import a15e from'./aws.command.js';function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x154;let f=c[d];return f;},a15d(a,b);}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a15i(0x168)]({'name':a15i(0x15f),'aliases':['rbi'],'usage':a15i(0x156),'validOpts':[],'shortDesc':a15i(0x161),'examples':[a15i(0x156),a15i(0x158)]},async function(){const j=a15i;try{const a=new AWS(),b=await a['chooseInstance']();if(b?.['status']===j(0x15d)){const c=await Actions[j(0x16b)](j(0x15a)+b[j(0x162)]+j(0x154));c&&b['instanceId']?a['ec2rebootInstance']({'instanceId':b[j(0x159)]}):Log[j(0x15b)](j(0x157)+b['name']+'\x20is\x20still\x20running.');}else Log['error'](j(0x165));}catch(d){d&&Log[j(0x15b)](d),process['exit'](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d
|
|
1
|
+
function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0xce;let f=c[d];return f;},a16d(a,b);}const a16I=a16d;(function(a,b){const E=a16d,c=a();while(!![]){try{const d=-parseInt(E(0xd4))/0x1+-parseInt(E(0xd0))/0x2*(-parseInt(E(0xe1))/0x3)+-parseInt(E(0xf7))/0x4+parseInt(E(0xf5))/0x5+parseInt(E(0xd9))/0x6+parseInt(E(0xe6))/0x7*(parseInt(E(0xe2))/0x8)+-parseInt(E(0xec))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x6da61));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a16d;if(c){const e=c[F(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const G=a16d;return a16a[G(0xfa)]()[G(0xef)](G(0x103))[G(0xfa)]()[G(0xed)](a16a)[G(0xef)](G(0x103));});a16a();import a16e from'./aws.command.js';function a16c(){const K=['ASSOCIATION','\x20/\x20Year)','2832762GRPLIb','apply','maka\x20aws:register-domain-name\x20--domain=example.com','Duration\x20in\x20years\x20[1]:\x20','Are\x20you\x20sure?','Domain\x20name\x20is\x20unavailable','register-domain-name','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','6LSUlVo','6587648AuHcOV','error','Country\x20Code\x20[US]:\x20','notice','7qScynX','maka\x20aws:register-domain-name','contactType','rdn','Do\x20you\x20wish\x20to\x20register\x20','96816','4701339xgTGYh','constructor','Contact\x20Email\x20[mail@example.com]:\x20','search','Invalid\x202\x20character\x20country\x20code','domain','values','OrganizationName','list','3587240ODkcDR','\x20is\x20available\x20for:','2674212tySFMf','Contact','123\x20Glorious\x20Way','toString','Address\x20Line\x201\x20[123\x20Glorious\x20Way]:','\x20years\x20(','Contact\x20Last\x20Name\x20[Person]:\x20','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','PERSON','The\x20domain\x20name:\x20','warn','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','(((.+)+)+)+$','checkDomainAvailability','ask','create','377046HymNKI','options','+1.5555555555','confirm','750032pcnsgM','State\x20[HI]:\x20','My\x20Comanpy,\x20LLC.'];a16c=function(){return K;};return a16c();}import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const H=a16d;return Object[H(0xf2)](CountryCode)['includes'](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}Command[a16I(0xcf)]({'name':a16I(0xdf),'aliases':[a16I(0xe9)],'usage':a16I(0xe7),'requiredOpts':[a16I(0xf1)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16I(0xdb),'maka\x20aws:rdn\x20--domain=example.com']},async function(a,b){const J=a16I;try{const c=b[J(0xf1)],d=new AWS(),{available:f,cost:g}=await d[J(0x104)](c);if(f&&g){Log[J(0xe5)](J(0x100)+c+J(0xf6));const {Price:h,Currency:i}=g;Log[J(0x101)]('\x20\x20'+h+'\x20'+i+'\x20/\x20Year\x20\x0a');const j=await Actions[J(0xd3)](J(0xea)+c+'\x20?',![]);if(j){const k={'type':J(0xf4),'name':J(0xe8),'message':'Choose\x20contact\x20type','choices':[J(0xd7),'COMPANY',J(0xff),'PUBLIC_BODY','RESELLER']},l=await Actions['ask'](J(0xdc))||'1',m=await Actions[J(0xce)]('Contact\x20First\x20Name\x20[Contact]:\x20')||J(0xf8),n=await Actions['ask'](J(0xfd))||'Person',{contactType:o}=await Actions[J(0xd1)](k),p=await Actions[J(0xce)](J(0xfb))||J(0xf9),q=await Actions['ask']('Address\x20Line\x202:\x20'),r=await Actions['ask']('Zip\x20Code\x20[96816]:\x20')||J(0xeb),s=await Actions[J(0xce)](J(0xd5))||'HI',t=await Actions['ask'](J(0xe4))||'US',u=getCountryCodeEnum(t);if(!u)throw Log[J(0xe3)](J(0xf0));const v=await Actions[J(0xce)](J(0xfe))||J(0xd2),w=await Actions[J(0xce)](J(0xe0))||'+1.5555555556',x=await Actions[J(0xce)](J(0xee))||'mail@example.com',y=await Actions[J(0xd3)]('Auto\x20Renew:\x20'),z={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':u,'AddressLine1':p,'AddressLine2':q,'ZipCode':r,'PhoneNumber':v,'Fax':w,'State':s,'Email':x};if(o!==J(0xff)){const C=await Actions[J(0xce)](J(0x102))||J(0xd6);z[J(0xf3)]=C;}const A=h||0x0*parseInt(l);Log[J(0xe5)]('Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:'),Log[J(0x101)](A+'\x20'+i+'\x20for\x20'+l+J(0xfc)+h+'\x20'+i+J(0xd8));const B=await Actions['confirm'](J(0xdd));B&&await d['registerDomain'](z,c,parseInt(l),y);}}else throw J(0xde);}catch(D){D&&Log[J(0xe3)](D),process['exit'](0x0);}},a16e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x12d;let f=c[d];return f;},a17d(a,b);}const a17j=a17d;(function(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x135))/0x1+parseInt(h(0x13e))/0x2*(-parseInt(h(0x138))/0x3)+parseInt(h(0x141))/0x4*(parseInt(h(0x140))/0x5)+parseInt(h(0x13f))/0x6+-parseInt(h(0x12e))/0x7*(parseInt(h(0x130))/0x8)+parseInt(h(0x147))/0x9*(parseInt(h(0x137))/0xa)+parseInt(h(0x14b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xd3136));function a17c(){const l=['454180QNbtCS','12DTPPSx','\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?','(((.+)+)+)+$','success','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','\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','379206LKIEya','rkp','error','confirm','38425563NRcYlR','remove-key-pair','ask','deleteKeyPair','8883021AsxDNr','Deleting\x20a\x20','8EUSBOo','exit','constructor','toString','forEach','1541636hUWBOG','ec2describeKeys','40IFyAqe','180909TePYqG','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','maka\x20aws:remove-key-pair','search','Not\x20deleting\x20keypair','Please\x20choose\x20a\x20key\x20to\x20delete:','42bnLrgQ','6043746uyIEbN'];a17c=function(){return l;};return a17c();}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(0x133)]()[i(0x13b)](i(0x143))['toString']()[i(0x132)](a17a)[i(0x13b)](i(0x143));});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a17j(0x14c),'aliases':[a17j(0x148)],'usage':'maka\x20aws:remove-key-pair','validOpts':[],'shortDesc':a17j(0x139),'description':a17j(0x146),'examples':[a17j(0x13a),'maka\x20aws:rkp']},async function(){const k=a17j;try{const a=new AWS(),b=await a[k(0x136)]();let c=undefined;const d=await Actions[k(0x14d)](k(0x13d));b?.[k(0x134)](function(g){g['id']===parseInt(d)&&(c=g['name']);});if(!c)throw Log[k(0x149)](k(0x145));const f=await Actions[k(0x14a)](k(0x12f)+c+k(0x142),![]);f?(await a[k(0x12d)](c),Log[k(0x144)]('Deleted\x20'+c)):Log[k(0x149)](k(0x13c)),process[k(0x131)](0x0);}catch(g){g&&Log[k(0x149)](g),process[k(0x131)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
function a18c(){const r=['config/ssh.json','isFile','(((.+)+)+)+$','getEnvFromShorthand','toString','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','2273692qLDxph','utf8','publicIp','join','inherit','\x20IP\x20to\x20','sep','9138252SPYclk','parse','Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]','75645BOqXvx','ssh.json','set-host','maka\x20aws:set-host\x20--env\x20dev','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','1244600JMvuOk','15XtyByF','exit','maka\x20aws:sth\x20--env\x20prod','privateIp','host','fsi','cat\x20','getMakaProjectConfig','constructor','getAppConfigPath','chooseInstance','public','1420EuoPzS','8AhlFzK','search','maka\x20aws\x20set-host','readFileSync','apply','1285653QYtsYK','success','313304rlTjnf','private','5177879slArkj'];a18c=function(){return r;};return a18c();}const a18p=a18d;(function(a,b){const m=a18d,c=a();while(!![]){try{const d=-parseInt(m(0x123))/0x1+-parseInt(m(0x114))/0x2+-parseInt(m(0x109))/0x3+parseInt(m(0x10b))/0x4*(parseInt(m(0x124))/0x5)+parseInt(m(0x11b))/0x6+-parseInt(m(0x10d))/0x7*(-parseInt(m(0x131))/0x8)+-parseInt(m(0x11e))/0x9*(-parseInt(m(0x130))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xd724e));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a18d;if(c){const e=c[n(0x108)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const o=a18d;return a18a[o(0x112)]()[o(0x105)](o(0x110))[o(0x112)]()[o(0x12c)](a18a)[o(0x105)](o(0x110));});a18a();import a18e from'path';import a18f from'fs';import{execSync}from'child_process';import a18g from'./aws.command.js';import{Command}from'../../command.js';import{AWS}from'../../tools/aws/aws.class.js';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x105;let f=c[d];return f;},a18d(a,b);}import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a18p(0x120),'aliases':['sth'],'usage':a18p(0x106),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[],'shortDesc':a18p(0x122),'description':'\x0a\x20\x20Get\x20a\x20list\x20of\x20AWS\x20EC2\x20instances\x20running,\x20and\x20choose\x20a\x20public\x20or\x20private\x20IP\x20to\x0a\x20\x20set\x20the\x20specified\x20environment\x27s\x20ssh.json\x20file\x20to\x20point\x20to\x20that\x20IP.\x0a\x20\x20','examples':[a18p(0x121),a18p(0x126)]},async function(a,b){const q=a18p;try{const c=new AWS(),d=this[q(0x129)][q(0x111)](b['env']),f=this[q(0x129)][q(0x12d)](d),g=this[q(0x129)][q(0x12b)](),h=await c[q(0x12e)](),i=a18e[q(0x117)](f,q(0x11f));!this[q(0x129)][q(0x10f)](i)&&await this[q(0x129)]['template']({'srcPath':q(0x10e),'destPath':i,'context':{'app':g['appName']},'config':g});const j=JSON[q(0x11c)](a18f[q(0x107)](i,q(0x115))),k=await Actions['ask'](q(0x11d))||'public';if(k){if(k===q(0x12f)||k===q(0x10c)){if(k===q(0x12f))j[q(0x128)]=h?.[q(0x116)];else k===q(0x10c)&&(j[q(0x128)]=h?.[q(0x127)]);}else throw q(0x113);}else j[q(0x128)]=h?.[q(0x127)];a18f['writeFileSync'](a18e[q(0x117)](f,q(0x11f)),JSON['stringify'](j,null,0x2)),execSync(q(0x12a)+a18e[q(0x117)](f,q(0x11f)),{'stdio':q(0x118)}),Log[q(0x10a)]('\x0aSaved\x20host\x20'+k+q(0x119)+f+a18e[q(0x11a)]+q(0x11f));}catch(l){l&&Log['error'](l),process[q(0x125)](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a19h=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d=parseInt(f(0x10d))/0x1+-parseInt(f(0xfe))/0x2+-parseInt(f(0xff))/0x3+-parseInt(f(0x104))/0x4*(-parseInt(f(0x119))/0x5)+parseInt(f(0x117))/0x6*(parseInt(f(0x108))/0x7)+parseInt(f(0x105))/0x8*(parseInt(f(0x110))/0x9)+parseInt(f(0x10f))/0xa*(-parseInt(f(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x4800a));const a19b=(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;};}()),a19a=a19b(this,function(){const g=a19d;return a19a[g(0x10e)]()[g(0x114)](g(0x118))[g(0x10e)]()[g(0x109)](a19a)[g(0x114)](g(0x118));});function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xfa;let f=c[d];return f;},a19d(a,b);}function a19c(){const j=['1151631DsPcxK','terminate-instance','\x20Ready?','44AeFSKk','ec2terminateInstance','1464412bvQBsu','227208kfmwjU','name','Terminate\x20an\x20EC2\x20instance','544313oYKnPs','constructor','instanceId','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','maka\x20aws:terminate-instance','425157RbymQk','toString','587790QtTWyg','63BeSPhw','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','create','chooseInstance','search','maka\x20aws:ti','error','12CUkBFI','(((.+)+)+)+$','5czYyAO','exit','running','confirm','You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20','463340KOSnSD'];a19c=function(){return j;};return a19c();}a19a();import a19e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';import{AWS}from'../../tools/aws/aws.class.js';import{Actions}from'../../tools/actions/actions.class.js';Command[a19h(0x112)]({'name':a19h(0x100),'aliases':['ti'],'usage':'maka\x20aws:terminate-instance','validOpts':[],'shortDesc':a19h(0x107),'description':'\x0a\x20\x20After\x20being\x20provided\x20a\x20list\x20of\x20EC2\x20instances\x20created\x20by\x20Maka-CLI,\x0a\x20\x20choose\x20the\x20ID\x20of\x20an\x20instance\x20to\x20terminate.\x0a\x0a\x20\x20This\x20optation\x20cannot\x20be\x20undone!\x0a\x20\x20','examples':[a19h(0x10c),a19h(0x115)]},async function(){const i=a19h;try{const a=new AWS(),b=await a[i(0x113)]();if(b?.[i(0x10a)]&&b?.['status']===i(0xfb)){const c=await Actions[i(0xfc)](i(0xfd)+b['name']+i(0x101));c?a[i(0x103)]({'instanceId':b['instanceId']}):Log[i(0x116)](i(0x10b)+b[i(0x106)]+i(0x111));}else Log[i(0x116)]('There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.');}catch(d){d&&Log[i(0x116)](d),process[i(0xfa)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x81))/0x1*(-parseInt(f(0x7a))/0x2)+-parseInt(f(0x7e))/0x3+parseInt(f(0x79))/0x4+parseInt(f(0x7b))/0x5*(parseInt(f(0x86))/0x6)+-parseInt(f(0x7c))/0x7*(parseInt(f(0x78))/0x8)+-parseInt(f(0x87))/0x9*(-parseInt(f(0x7f))/0xa)+parseInt(f(0x84))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xe6c9b));var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x83)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a[h(0x80)]()[h(0x7d)]('(((.+)+)+)+$')['toString']()[h(0x82)](a20a)[h(0x7d)](h(0x85));});a20a();function a20c(){var i=['(((.+)+)+)+$','6aUVlYU','667908elhwtm','8ORvQwh','3795412rkizlV','4dbYDma','2905105pRbGhA','2255071SeMzaF','search','5362851tIHdJz','170yAVuCr','toString','203009hRdyhb','constructor','apply','7365787KdAcKH'];a20c=function(){return i;};return a20c();}function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x78;var f=c[d];return f;},a20d(a,b);}import'./build.js';import'./docker.sub.cmd.js';
|