@maka/maka-cli 5.1.9 → 5.1.14
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 +1 -1
- 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/testCmd/_index.js +1 -0
- package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/testCmd/test.command.js +1 -0
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version/_index.js +1 -0
- package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -0
- package/bundle/obf/src/commands/version/version.js +1 -0
- 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 +1 -1
- package/bundle/obf/src/commands/test/_index.js +0 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +0 -1
- package/bundle/obf/src/commands/test/test.command.js +0 -1
- package/bundle/obf/src/commands/version.js +0 -1
- package/bundle/obf/src/templates/react/test/test.js +0 -1
- package/bundle/obf/src/templates/react/test/test.js.jsx +0 -38
- package/bundle/obf/src/templates/react/test/test.js.ts +0 -1
- package/bundle/obf/src/templates/react/test/test.js.tsx +0 -38
- package/bundle/obf/src/templates/service/test/jest/jest.config.js +0 -6
- package/bundle/obf/src/templates/service/test/jest/jest.setup.js +0 -7
package/bundle/obf/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maka/maka-cli",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.14",
|
|
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.",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a0r=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d
|
|
1
|
+
const a0r=a0d;(function(a,b){const n=a0d,c=a();while(!![]){try{const d=parseInt(n(0x115))/0x1+parseInt(n(0x12f))/0x2+parseInt(n(0x11c))/0x3*(-parseInt(n(0x12e))/0x4)+parseInt(n(0xe8))/0x5+parseInt(n(0xeb))/0x6+parseInt(n(0x106))/0x7+-parseInt(n(0xec))/0x8*(parseInt(n(0x129))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a0c,0x5fdec));const a0b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a0d;if(c){const e=c[o(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a0a=a0b(this,function(){const p=a0d;return a0a[p(0x10b)]()[p(0x123)](p(0x113))['toString']()[p(0xf8)](a0a)['search'](p(0x113));});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';function a0c(){const C=['Alias','unshift','assign','search','minOptsLength','murder','mustHaveMeteorInstalled','Command\x20requires\x20first\x20param\x20to\x20be\x20an\x20object','run','9OIdfSn','addCommand','Too\x20many\x20arguments','validateParams','chdir','20KBrctm','106772BpXhGr','options','_commands','cwd','number','generate','slice','projectConfig','Meteor\x20could\x20not\x20be\x20found\x20or\x20it\x20is\x20not\x20installed\x20correctly','There\x20is\x20no\x20Meteor\x20application\x20here','error','invoke','mustBeInMakaProject','815960jkxMRy','notice','pallet','4110390MpyBmf','990240rqekDm','tableList','apply','(experimental)\x20','exit','usage','LIGHT','You\x20must\x20be\x20in\x20a\x20Maka\x20project\x20to\x20run\x20this\x20command','play','Please\x20run\x20\x22maka\x20login\x22','DARK','mpi','constructor','call','setColorMode','keys','Command\x20not\x20found','create','experimental','find','forEach','You\x20must\x20be\x20logged\x20in\x20to\x20run\x20this\x20command','maxArgLength','bright','\x20not\x20found','Please\x20run\x20\x22maka\x20install\x20meteor\x22','1932882tFFdPu','validateMeteorInstall','Command\x20','shortDesc','Command\x20requires\x20a\x20handler\x20function','toString','aliases','sort','minArgLength','join','Too\x20few\x20options','bind','Use\x20--help\x20for\x20any\x20sub-command\x20for\x20details','(((.+)+)+)+$','function','7205njdfas','match','push','maxOptsLength','mustBeLoggedIn','name','validateMakaProject','401106aKCfsJ','help','Name','length'];a0c=function(){return C;};return a0c();}function a0d(a,b){const c=a0c();return a0d=function(d,e){d=d-0xe1;let f=c[d];return f;},a0d(a,b);}let _prevCmd='';async function inside(a='.',b){const q=a0d,c=process['cwd']();try{return process[q(0x12d)](a),await b();}finally{process[q(0x12d)](c);}}export class Command extends Tool{[a0r(0x130)];['projectConfig'];[a0r(0x131)];['_handler'];constructor(a,b){const s=a0r;super();if(!a)throw new Error(s(0x127));if(!a[s(0x11a)])throw new Error('Command\x20requires\x20a\x20name');if(typeof b!==s(0x114))throw new Error(s(0x10a));this[s(0x130)]=Object[s(0x122)]({},a),this[s(0x11a)]=this['options'][s(0x11a)],this['_commands']=[],this['_handler']=b[s(0x111)](this);}static[a0r(0xfd)](a,b,c){const t=a0r;if(!a)throw new Error('Command.create\x20requires\x20some\x20options!');if(typeof b!==t(0x114))throw new Error('Command.create\x20requires\x20a\x20handler\x20function!');const d=new Command(a,b);return c=c||a0f,Object[t(0x122)](d,{'parent':c?.[t(0x130)]?.['name']}),c[t(0x12a)](d),d;}[a0r(0x12a)](a){const u=a0r;if(!(a instanceof Command))throw new Error('addCommand\x20requires\x20a\x20Command\x20instance');this[u(0x131)][u(0x117)](a);}async[a0r(0x128)](a,b){const v=a0r;try{a=a||[],b=b||{};try{const c=await this['cfg']['getGlobalConfig'](),d=c[v(0xea)]==='light'?ColorMode[v(0xf2)]:ColorMode[v(0xf6)];Log[v(0xfa)](d);}catch(f){Log[v(0xe5)](f),process[v(0xf0)](0x0);}return await inside(b[v(0x132)],async()=>{const w=v;return await this[w(0xe6)](a,b);});}catch(g){process[v(0xf0)](0x1);}}async[a0r(0xe6)](a,b){const x=a0r,{usage:usage='',description:description='',shortDesc:c,examples:examples=[],isRoot:isRoot=![],requiredOpts:requiredOpts=[],validOpts:d,experimental:f}=this[x(0x130)];try{if(this[x(0x130)][x(0x11a)]!==x(0x134)){if(!isRoot){const g=(a[0x0]===_prevCmd||a[x(0x11f)]===0x0)&&this[x(0x131)][x(0x11f)]>=0x0,h=b[x(0x11d)]||b['h'];if(g&&h){if(this[x(0x131)][x(0x11f)]>0x0)throw new UsageErrorWithSubs();throw new UsageError();}if(!h){if(this[x(0x130)][x(0xe7)]){const i=this[x(0x11b)]();if(!i)throw new MustBeInProjectError();this[x(0xe2)]=this['cfg']['getMakaProjectConfig']();}if(this['options'][x(0x119)]){const j=await this['validateUserIsLoggedIn']();if(!j)throw new MustBeLoggedIn();}if(this['options'][x(0x126)]){const k=this[x(0x107)]();if(!k)throw new NoMeteorFoundError();}if(typeof this[x(0x130)]['minArgLength']===x(0x133)){if(a[x(0x11f)]<this['options'][x(0x10e)]){Log['error']('Too\x20few\x20arguments');throw new UsageError();}}if(typeof this[x(0x130)][x(0x102)]===x(0x133)){if(a[x(0x11f)]>=this[x(0x130)][x(0x102)]){Log['error'](x(0x12b));throw new UsageError();}}if(typeof this[x(0x130)]['minOptsLength']===x(0x133)){if(Object['keys'](b)['length']<this['options'][x(0x124)]){Log[x(0xe5)](x(0x110));throw new UsageError();}}if(typeof this['options'][x(0x118)]===x(0x133)){if(Object[x(0xfb)](b)[x(0x11f)]>=this[x(0x130)]['maxOptsLength']){Log['error']('Too\x20many\x20options');throw new UsageError();}}}}b=await this[x(0x12c)](a,b,this['options']),_prevCmd=a[0x0];}return await this['_handler'][x(0xf9)](this,a,b);}catch(l){Log[x(0xf1)](description,examples,usage,c,requiredOpts,d,f);if(l instanceof UsageErrorWithSubs)Log[x(0xe9)]('Sub-Commands:'),this[x(0xed)](this[x(0x131)]),Log['header'](x(0x112));else{if(l instanceof MustBeInProjectError)Log[x(0xe5)](x(0xf3));else{if(l instanceof NoMeteorFoundError)Log[x(0xe5)](x(0xe3)),Log[x(0xe9)](x(0x105));else{if(l instanceof NoMeteorAppFoundError)Log[x(0xe5)](x(0xe4));else l instanceof MustBeLoggedIn&&(Log[x(0xe5)](x(0x101)),Log[x(0xe9)](x(0xf5)));}}}process[x(0xf0)](0x1);}}['tableList'](a){const y=a0r,b=new a0e({});b[y(0x117)]([y(0x11e),y(0x120),'Description']),a[y(0x10d)]((c,d)=>{const z=y;return c['name']['localeCompare'](d[z(0x11a)]);})[y(0x100)](c=>{const A=y;if(c['name']!==A(0x125)&&c[A(0x11a)]!==A(0xf4)){const d=c[A(0xfe)](),e=d?A(0xef)+c[A(0x109)]():c['shortDesc']();b[A(0x117)]([c[A(0x11a)],c[A(0x10c)](),e]);}}),Log[y(0x103)](b[y(0x10b)]());}async['processAndRunCommand'](a,b=[],c={}){const B=a0r;try{const d=a?.['split'](':');if(!d||d[B(0x11f)]===0x0)throw'Command\x20format\x20is\x20incorrect';if(d[0x0]==='generate'||d[0x0]==='g'&&d['length']>0x1){const h=this[B(0x131)][B(0xff)](j=>j[B(0x116)](B(0x134)));if(!h)throw B(0xfc);const i=d[B(0xe1)](0x1)[B(0x10f)](':');return b[B(0x121)](i),await h[B(0x128)](b,c);}let f=this['_commands'],g;for(const j of d){g=f[B(0xff)](k=>k[B(0x116)](j));if(!g)try{await this[B(0xf7)]['maybeProxyCommandToMeteor']();}catch(k){throw B(0x108)+j+B(0x104);}g&&(f=g[B(0x131)]);}if(g){const l=await g['run'](b,c);return l;}else throw B(0xfc);}catch(m){Log[B(0xe5)](m),process[B(0xf0)](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(0xeb))/0x1+parseInt(f(0xe9))/0x2+parseInt(f(0xee))/0x3*(parseInt(f(0xf0))/0x4)+parseInt(f(0xf2))/0x5*(-parseInt(f(0xe8))/0x6)+-parseInt(f(0xe5))/0x7*(-parseInt(f(0xef))/0x8)+parseInt(f(0xed))/0x9*(-parseInt(f(0xec))/0xa)+-parseInt(f(0xe6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a1c,0x8be45));function a1d(a,b){var c=a1c();return a1d=function(d,e){d=d-0xe5;var f=c[d];return f;},a1d(a,b);}var a1b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a1d;if(c){var e=c[g(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a1a=a1b(this,function(){var h=a1d;return a1a['toString']()['search'](h(0xf1))[h(0xf3)]()['constructor'](a1a)[h(0xea)](h(0xf1));});a1a();import'./aws/_index.js';import'./set/_index.js';import'./get/_index.js';import'./game/_index.js';function a1c(){var i=['1459652VOYSWR','search','629137FRrLXU','70ptklaT','1247013ileJcn','9xUclLR','7562384gCiEJY','815020IvavjR','(((.+)+)+)+$','2135GrsNFE','toString','7tTxfyQ','12736339CxifVn','apply','3018Vputkh'];a1c=function(){return i;};return a1c();}import'./build/_index.js';import'./deploy/_index.js';import'./run/_index.js';import'./version/_index.js';import'./testCmd/_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'./murder.js';import'./proxy.js';import'./lint.js';import'./undo.js';import'./profile.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a2d(a,b){const c=a2c();return a2d=function(d,e){d=d-0x19f;let f=c[d];return f;},a2d(a,b);}const a2m=a2d;(function(a,b){const h=a2d,c=a();while(!![]){try{const d=-parseInt(h(0x1a1))/0x1+-parseInt(h(0x1ad))/0x2*(parseInt(h(0x1a4))/0x3)+parseInt(h(0x1b1))/0x4+-parseInt(h(0x1b7))/0x5+-parseInt(h(0x1b5))/0x6*(-parseInt(h(0x1b2))/0x7)+-parseInt(h(0x1c5))/0x8*(-parseInt(h(0x1af))/0x9)+parseInt(h(0x1c3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a2c,0x20db4));const a2b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a2d;if(c){const e=c[i(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a2a=a2b(this,function(){const j=a2d;return a2a[j(0x1b9)]()['search'](j(0x1b3))['toString']()['constructor'](a2a)[j(0x1a8)](j(0x1b3));});a2a();function a2c(){const o=['OpenAI\x20Key\x20is\x20not\x20configured\x20in\x20~/.maka/global-config.json','message','trim','notice','parse','stdout','cert','3675450DXthNj','cfg','17896vTMiIb','bright','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','isFile','150985bFMcnf','You:\x20','exit','2631tvdAcG','choices','create','apply','search','cacert','openai','error','openapikey','386FtCecQ','text','198pcSFpX','fsi','140888DWWgke','11991HqdloI','(((.+)+)+)+$','createInterface','606ZQbSER','ChatGPT\x20style\x20AI\x20interface','850840ETKAbz','stdin','toString','Type\x20\x27exit\x27\x20to\x20end\x20the\x20chat.','getGlobalConfig'];a2c=function(){return o;};return a2c();}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(0x1b4)]({'input':process[k(0x1b8)],'output':process[k(0x1c1)]});c['question'](k(0x1a2),async d=>{const l=k;if(d['toLowerCase']()===l(0x1a3)){c['close']();return;}try{const e=await HTTPS['askGPT']({'prompt':d,'openApiKey':a,'certPath':b}),f=JSON[l(0x1c0)](e['data']);if(f[l(0x1ab)])throw new Error(f['error'][l(0x1bd)]);Log['bright']('GPT:\x20'+f?.[l(0x1a5)][0x0]?.[l(0x1ae)][l(0x1be)]());}catch(g){Log['error'](g),process[l(0x1a3)](0x1);}startChat({'openApiKey':a,'caCertPath':b});});};Command[a2m(0x1a6)]({'name':'ai','description':'ChatGPT\x20style\x20AI\x20interface','validOpts':[a2m(0x1a9),'openapikey'],'shortDesc':a2m(0x1b6),'isPro':!![]},async function(a,b){const n=a2m;try{let c='';b[n(0x1a9)]&&(this['fsi'][n(0x1a0)](b['cacert'])?(c=b[n(0x1a9)],Log[n(0x1bf)]('Using\x20CA\x20Cert\x20'+c)):Log[n(0x1ab)](n(0x19f)+c));const d=await this[n(0x1c4)][n(0x1bb)]();if(d[n(0x1c2)]){if(this[n(0x1b0)][n(0x1a0)](d[n(0x1c2)]))c=d['cert'];else throw Log['error']('CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20'+c);}let f='';if(b[n(0x1ac)])f=b[n(0x1ac)],Log[n(0x1bf)]('Using\x20OpenAI\x20Key\x20'+f);else{if(d['openai'])f=d[n(0x1aa)];else throw Log[n(0x1ab)](n(0x1bc));}Log[n(0x1c6)](n(0x1ba)),startChat({'caCertPath':c,'openApiKey':f});}catch(g){g&&console[n(0x1ab)](g),process[n(0x1a3)](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(0xcd))/0x1+-parseInt(f(0xc7))/0x2+parseInt(f(0xcc))/0x3*(parseInt(f(0xcf))/0x4)+-parseInt(f(0xd4))/0x5*(parseInt(f(0xd2))/0x6)+-parseInt(f(0xce))/0x7*(-parseInt(f(0xc6))/0x8)+parseInt(f(0xd1))/0x9*(-parseInt(f(0xcb))/0xa)+parseInt(f(0xc5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a3c,0xf32c9));var a3b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a3d;if(c){var e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a3a=a3b(this,function(){var h=a3d;return a3a[h(0xc9)]()[h(0xd3)]('(((.+)+)+)+$')[h(0xc9)]()[h(0xc8)](a3a)['search'](h(0xca));});function a3d(a,b){var c=a3c();return a3d=function(d,e){d=d-0xc5;var f=c[d];return f;},a3d(a,b);}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';function a3c(){var i=['45hMbwKb','366tlyKIX','search','125855zOIQep','8618357eYfxYb','224iGeGSW','2560082tFUnMB','constructor','toString','(((.+)+)+)+$','1974600mjIrdT','1774461tSAXRR','1717603Jzvcdk','426559sAxKcJ','4MSlliV','apply'];a3c=function(){return i;};return a3c();}import'./dsg.sub.cmd.js';import'./rkp.sub.cmd.js';import'./chz.sub.cmd.js';import'./rdn.sub.cmd.js';import'./cecr.sub.cmd.js';import'./decr.sub.cmd.js';import'./lecr.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a4c(){const j=['
|
|
1
|
+
function a4c(){const j=['112YWKTKA','436994CfcyKY','83907IciseE','901817InTsNq','6156480lHkRJE','48JZMBMr','\x0a\x20\x20Create,\x20view,\x20terminate\x20EC2\x20instances,\x20assign\x20key-pairs,\x20set\x20host\x20IPs,\x20and\x20more.\x0a\x20\x20','apply','12PuTFeD','(((.+)+)+)+$','Manage\x20EC2\x20instances,\x20VPC\x20Security\x20groups,\x20and\x20Key\x20Pairs','104007Lmpsga','toString','7492gQXusa','aws','775zqeGiT','constructor','52kjFGJh','search','5656673gADqHS'];a4c=function(){return j;};return a4c();}const a4i=a4d;(function(a,b){const f=a4d,c=a();while(!![]){try{const d=parseInt(f(0x197))/0x1+-parseInt(f(0x193))/0x2*(-parseInt(f(0x18d))/0x3)+parseInt(f(0x18f))/0x4*(parseInt(f(0x191))/0x5)+parseInt(f(0x187))/0x6*(-parseInt(f(0x185))/0x7)+-parseInt(f(0x196))/0x8*(parseInt(f(0x184))/0x9)+parseInt(f(0x186))/0xa+parseInt(f(0x195))/0xb*(-parseInt(f(0x18a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a4c,0x8ae6a));const a4b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a4d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a4a=a4b(this,function(){const h=a4d;return a4a['toString']()[h(0x194)]('(((.+)+)+)+$')[h(0x18e)]()[h(0x192)](a4a)[h(0x194)](h(0x18b));});function a4d(a,b){const c=a4c();return a4d=function(d,e){d=d-0x184;let f=c[d];return f;},a4d(a,b);}a4a();import{Command}from'../../command.js';import{UsageError}from'../../error.js';const AWSCommand=Command['create']({'name':a4i(0x190),'usage':'maka\x20aws:<sub-command>','validOpts':[],'shortDesc':a4i(0x18c),'description':a4i(0x188)},async function(){throw UsageError;});export default AWSCommand;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a5i=a5d;(function(a,b){const f=a5d,c=a();while(!![]){try{const d=parseInt(f(0x1c4))/0x1+parseInt(f(0x1b5))/0x2*(parseInt(f(0x1b2))/0x3)+parseInt(f(0x1b4))/0x4*(parseInt(f(0x1ad))/0x5)+-parseInt(f(0x1c3))/0x6*(-parseInt(f(0x1be))/0x7)+parseInt(f(0x1a6))/0x8*(parseInt(f(0x1a5))/0x9)+-parseInt(f(0x1a3))/0xa+-parseInt(f(0x1bb))/0xb*(parseInt(f(0x1b0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a5c,0xaa02c));const a5b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a5d;if(c){const e=c[g(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a5a=a5b(this,function(){const h=a5d;return a5a[h(0x1b9)]()[h(0x1a8)](h(0x1c2))['toString']()[h(0x1c0)](a5a)[h(0x1a8)](h(0x1c2));});a5a();function a5c(){const k=['constructor','cecr','(((.+)+)+)+$','6ywCjZO','164561ABVFMV','4665940ITBisC','notice','9vDbjCM','4199096xLNfTv','Repository\x20URI:\x20','search','Failed\x20to\x20create\x20the\x20repository.\x20Please\x20check\x20the\x20AWS\x20console\x20for\x20more\x20details.','httpStatusCode','maka\x20aws:create-ecr','region','65Jjyhkt','apply','aws','1212vBEqiq','repository','3TzchjV','create-ecr','177544eVRZox','1366376vvzzAZ','name','ecrCreateRepository','success','toString','repositoryUri','198319RyNUnr','exit','maka\x20aws:cecr\x20--name=my-new-repo','7239631AbOWHv','maka\x20aws:cecr\x20--name=my-new-repo\x20--region=us-east-1'];a5c=function(){return k;};return a5c();}import a5e from'./aws.command.js';function a5d(a,b){const c=a5c();return a5d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a5d(a,b);}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a5i(0x1b3),'aliases':[a5i(0x1c1)],'usage':a5i(0x1ab),'requiredOpts':[a5i(0x1b6)],'validOpts':[a5i(0x1ac)],'shortDesc':'Create\x20an\x20Elastic\x20Container\x20Repository','examples':['maka\x20aws:create-ecr\x20--name=my-new-repo',a5i(0x1bd),a5i(0x1bf)]},async function(a,b){const j=a5i;try{const c=await this[j(0x1af)][j(0x1b7)](b);c&&c['$metadata'][j(0x1aa)]===0xc8&&c[j(0x1b1)]?(Log[j(0x1b8)]('Repository\x20created\x20successfully.'),Log[j(0x1a4)](j(0x1a7)+c[j(0x1b1)][j(0x1ba)])):Log['error'](j(0x1a9)),process[j(0x1bc)](0x0);}catch(d){Log['error'](d),process[j(0x1bc)](0x1);}},a5e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(
|
|
1
|
+
const a6k=a6d;(function(a,b){const h=a6d,c=a();while(!![]){try{const d=-parseInt(h(0xca))/0x1+-parseInt(h(0xcc))/0x2*(-parseInt(h(0xc4))/0x3)+parseInt(h(0xb6))/0x4+-parseInt(h(0xce))/0x5+-parseInt(h(0xcb))/0x6+-parseInt(h(0xb9))/0x7*(parseInt(h(0xc6))/0x8)+parseInt(h(0xc9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a6c,0x8d7b2));const a6b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a6d;if(c){const e=c[i(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a6a=a6b(this,function(){const j=a6d;return a6a['toString']()[j(0xbb)]('(((.+)+)+)+$')[j(0xc0)]()[j(0xbd)](a6a)[j(0xbb)](j(0xb5));});a6a();import a6e from'./aws.command.js';function a6d(a,b){const c=a6c();return a6d=function(d,e){d=d-0xb5;let f=c[d];return f;},a6d(a,b);}function a6c(){const m=['2813090rYalXF','maka\x20aws:chz\x20--domain=example.com','Set\x20hosted\x20zone\x20to\x20an\x20instance?','(((.+)+)+)+$','4382660eWEmTj','confirm','Instance\x20not\x20found','5334987DmnwFa','route53CreateHostedZone','search','create-hosted-zone','constructor','apply','error','toString','exit','maka\x20aws:create-hosted-zone\x20--domain=example.com','publicIp','27rchihw','domain','8ddAZTy','chooseInstance','linkEC2ToRoute53','12038418iZZMcH','1147989DEJlhX','666396nWrBBS','162234rCsCSR','create'];a6c=function(){return m;};return a6c();}import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command[a6k(0xcd)]({'name':a6k(0xbc),'aliases':['chz'],'usage':'maka\x20aws:create-hosted-zone','requiredOpts':['domain'],'validOpts':[],'shortDesc':'Create\x20a\x20hosted\x20zone\x20in\x20Route\x2053','examples':[a6k(0xc2),a6k(0xcf)]},async function(a,b){const l=a6k;try{const c=b[l(0xc5)];this['aws'][l(0xba)](c);const d=await Actions[l(0xb7)](l(0xd0));if(d){const f=await this['aws'][l(0xc7)]();if(f?.['id']){if(!f['publicIp'])throw Log[l(0xbf)]('Instance\x20does\x20not\x20have\x20a\x20public\x20IP\x20address');this['aws'][l(0xc8)](f['id'],f[l(0xc3)],c);}else throw l(0xb8);}}catch(g){g&&Log[l(0xbf)](g),process[l(0xc1)](0x0);}},a6e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a7c(){const
|
|
1
|
+
const a7a0=a7d;(function(a,b){const Y=a7d,c=a();while(!![]){try{const d=-parseInt(Y(0xc6))/0x1+-parseInt(Y(0xeb))/0x2+-parseInt(Y(0xb8))/0x3*(parseInt(Y(0xe6))/0x4)+-parseInt(Y(0xcf))/0x5*(-parseInt(Y(0xb7))/0x6)+parseInt(Y(0xe5))/0x7*(parseInt(Y(0xc3))/0x8)+-parseInt(Y(0xc9))/0x9*(parseInt(Y(0xdd))/0xa)+parseInt(Y(0xcd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a7c,0x91f71));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(0xbd)]()[Z(0xd1)]('(((.+)+)+)+$')[Z(0xbd)]()[Z(0xe0)](a7a)['search'](Z(0xc0));});a7a();import a7e from'./aws.command.js';import a7f from'path';function a7c(){const a2=['env','user-data','24280cOASuW','chooseVPC','Create\x20new\x20AWS\x20instance','639rqSMIv','number','Name','createFile','6455108basoSM','name','2647105ZApKQR','Security\x20Group:\x20','search','Ready\x20to\x20create\x20instance?\x20NOTE:\x20You\x20WILL\x20be\x20billed\x20for\x20this\x20instance\x20by\x20AWS.','Would\x20you\x20like\x20to\x20include\x20user\x20data?','readFileSync','ask','What\x20instance\x20type\x20would\x20you\x20like?\x20[t3.micro]','bright','**\x20Available\x20key-pairs\x20**','Would\x20you\x20like\x20to\x20create\x20a\x20new\x20security\x20group?','notice','join','maka\x20aws:ci\x20--env\x20prod','23710vsyaQv','Security\x20Group\x20Name:\x20[','Please\x20choose\x20a\x20key\x20to\x20use:\x20','constructor','deleteKeyPair','ec2createSG','Key-Pair:\x20','environment','1795829MMcHza','8752NIHyDY','confirm','Please\x20modify\x20and\x20save\x20the\x20user-data\x20file.\x20\x20Ready\x20to\x20continue?','ImageID:','created-by','2314272MhQNRg','t3.micro','deleteSecurityGroup','getEnvFromShorthand','isFile','getSubnetCidr','exit','Run\x20\x22maka\x20aws:set-host\x22\x20to\x20configure\x20your\x20ssh.json\x20file','split','success','aws','ec2create','getAppConfigPath','Instace\x20Type:\x20','error','ABORTED!\x20No\x20instance\x20has\x20been\x20created!','12HObdWV','993rWSlBp','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','maka\x20aws:create-instance\x20--env\x20dev','Subnet:\x20','Creating\x20user\x20data\x20file\x20in\x20','toString','string','1:1','(((.+)+)+)+$','listAvailableSubnets','User\x20Data:','32SiCDGf'];a7c=function(){return a2;};return a7c();}import a7g from'fs';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a7d(a,b){const c=a7c();return a7d=function(d,e){d=d-0xac;let f=c[d];return f;},a7d(a,b);}Command['create']({'name':'create-instance','aliases':['ci'],'usage':'maka\x20aws:create-instance','examples':[a7a0(0xba),a7a0(0xdc)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a7a0(0xc4)}],'validOpts':[],'shortDesc':a7a0(0xc8),'description':'\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'},async function(a,b){const a1=a7a0;try{const {projectConfig:c,fsi:d,cfg:f}=this,{appName:g}=c,h=f[a1(0xee)](b[a1(0xc4)]),i=f[a1(0xb3)](h),j=g+'-'+h,k=await Actions[a1(0xd5)]('EC2\x20Name:\x20['+j+']\x20')||j;let l='',m='',n='',o='',p='';const q=await Actions[a1(0xe7)]('Would\x20you\x20like\x20to\x20make\x20a\x20new\x20PEM\x20key?',!![]);let r='',s='';if(q){const {keyName:y,filePath:z}=await this[a1(0xb1)]['createKeyPair']({'env':h});r=y,s=z,Log[a1(0xb0)]('Setting\x20the\x20key-pair\x20to:\x20'+r);}else try{Log[a1(0xda)](a1(0xd8));const A=r?r:k,B=await this[a1(0xb1)]['ec2describeKeys']({'suggestion':A}),C=await Actions[a1(0xd5)](a1(0xdf))||'-1';if(parseInt(C)<0x0){Log[a1(0xb5)](a1(0xb9)),Log['notice']('No\x20instance\x20has\x20been\x20created.');return;}if(B)for(const D of B){if(parseInt(C)===D['id']){r=D[a1(0xce)],Log['success']('Setting\x20the\x20key-pair\x20to:\x20'+r);break;}}}catch(E){Log[a1(0xb5)](E);}l=await this['aws'][a1(0xc7)]();const t=await Actions[a1(0xe7)](a1(0xd9),!![]);let u;if(t){const F=l===''?await this['aws'][a1(0xc7)]():l;u=await Actions[a1(0xd5)](a1(0xde)+k+']')||k;const G=await Actions[a1(0xd5)]('Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20')||'22,80,443',H=G[a1(0xaf)](',');await this[a1(0xb1)][a1(0xe2)]({'description':'Web\x20App','name':u,'vpcId':F,'sgPorts':H});}u=k,m=await this['aws']['chooseSecurityGroup'](u),n=await this[a1(0xb1)]['listAvailableAMIs'](),p=await this[a1(0xb1)][a1(0xc1)]();const v=0x1,w=0x1;try{const I=await Actions['ask']('How\x20many\x20instances\x20do\x20you\x20want\x20to\x20create\x20(min:max)?\x20[1:1]\x20')||a1(0xbf),J=I['split'](':')[0x0],K=I[a1(0xaf)](':')[0x1];typeof parseInt(J)===a1(0xca)&&typeof parseInt(K)==='number'&&Log[a1(0xb0)]('Setting\x20the\x20number\x20of\x20instances\x20to:\x20'+J+':'+K);}catch(L){Log['error'](L);}try{const M=await Actions['ask'](a1(0xd6))||a1(0xec);typeof M===a1(0xbe)&&(o=M);}catch(N){Log[a1(0xb5)](N);}let x='';try{const O=await Actions['confirm'](a1(0xd3),![]);O&&(x=a7f[a1(0xdb)](i,a1(0xc5)),Log[a1(0xda)](a1(0xbc)+x),await this['fsi'][a1(0xcc)]({'filePath':x,'data':''}),await Actions[a1(0xe7)](a1(0xe8)));}catch(P){Log[a1(0xb5)](P);}try{const Q=await this[a1(0xb1)][a1(0xac)](p);Log[a1(0xda)](a1(0xe9)+n),Log[a1(0xda)]('Instance\x20Count:\x20'+v+':'+w),Log[a1(0xda)](a1(0xb4)+o),Log[a1(0xda)](a1(0xe3)+r),Log[a1(0xda)](a1(0xd0)+m),Log['notice'](a1(0xbb)+Q);if(x){Log[a1(0xda)](a1(0xc2)+x);const S=a7g[a1(0xd4)](x)['toString']();Log[a1(0xda)](S);}const R=await Actions[a1(0xe7)](a1(0xd2));if(R){const T=await this['aws'][a1(0xb2)]({'imageId':n,'minCount':v,'maxCount':w,'type':o,'key':r,'sgIds':m,'subnet':p,'tags':[{'Key':a1(0xea),'Value':'maka-cli'},{'Key':a1(0xe4),'Value':h},{'Key':a1(0xcb),'Value':k}],...x&&{'userData':x}});T&&(Log[a1(0xb0)]('Instance\x20created!\x20\x20NOTE:\x20You\x20are\x20now\x20being\x20billed\x20for\x20this\x20EC2.'),Log[a1(0xd7)](a1(0xae)));}else{Log[a1(0xda)](a1(0xb6));const U=await Actions[a1(0xe7)]('Remove\x20the\x20keypair\x20'+r+'\x20?',!![]);U&&(this[a1(0xb1)][a1(0xe1)](r),d[a1(0xef)](s)&&a7g['unlinkSync'](s));const V=await Actions[a1(0xe7)]('Remove\x20the\x20security\x20group\x20'+m+'\x20?',!![]);V&&this['aws'][a1(0xed)](m);}}catch(W){Log[a1(0xb5)](W);}}catch(X){X&&Log[a1(0xb5)](X),process[a1(0xad)](0x0);}},a7e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a8j=a8d;(function(a,b){const g=a8d,c=a();while(!![]){try{const d=-parseInt(g(0x1ef))/0x1+-parseInt(g(0x1dd))/0x2*(parseInt(g(0x1de))/0x3)+parseInt(g(0x1e5))/0x4+parseInt(g(0x1dc))/0x5+-parseInt(g(0x1e6))/0x6+parseInt(g(0x1e8))/0x7+-parseInt(g(0x1e9))/0x8*(-parseInt(g(0x1ee))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a8c,0xd6995));const a8b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a8d;if(c){const e=c[h(0x1db)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a8a=a8b(this,function(){const i=a8d;return a8a[i(0x1da)]()[i(0x1eb)](i(0x1e1))[i(0x1da)]()[i(0x1ea)](a8a)[i(0x1eb)](i(0x1e1));});a8a();import a8e from'./aws.command.js';function a8c(){const l=['12397928AlBRXm','constructor','search','maka\x20aws:create-key-pair\x20--env\x20prod','ckp','9YOBsCi','556033PCWAFW','env','exit','\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','getEnvFromShorthand','toString','apply','5440580gpYFDv','28JjUqFD','350358ilbnzB','Create\x20a\x20Key\x20Pair\x20for\x20AWS\x20an\x20EC2\x20instance','maka\x20aws:ckp\x20--env\x20prod','(((.+)+)+)+$','error','create-key-pair','maka\x20aws:create-key-pair','4416916nqDjFb','7571634EKkZEM','createKeyPair','4129209sweWos'];a8c=function(){return l;};return a8c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a8d(a,b){const c=a8c();return a8d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a8d(a,b);}Command['create']({'name':a8j(0x1e3),'aliases':[a8j(0x1ed)],'usage':a8j(0x1e4),'examples':[a8j(0x1ec),a8j(0x1e0)],'mustBeInMakaProject':!![],'requiredOpts':[a8j(0x1d6)],'validOpts':[],'shortDesc':a8j(0x1df),'description':a8j(0x1d8)},async function(a,b){const k=a8j;try{const {aws:c}=this,d=this['cfg'][k(0x1d9)](b[k(0x1d6)]);c[k(0x1e7)]({'env':d});}catch(f){f&&Log[k(0x1e2)](f),process[k(0x1d7)](0x0);}},a8e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(
|
|
1
|
+
function a9d(a,b){const c=a9c();return a9d=function(d,e){d=d-0x7d;let f=c[d];return f;},a9d(a,b);}const a9p=a9d;(function(a,b){const m=a9d,c=a();while(!![]){try{const d=-parseInt(m(0x86))/0x1*(parseInt(m(0x90))/0x2)+-parseInt(m(0x92))/0x3*(-parseInt(m(0x83))/0x4)+-parseInt(m(0x85))/0x5*(-parseInt(m(0x9d))/0x6)+-parseInt(m(0x8c))/0x7+-parseInt(m(0x8d))/0x8*(-parseInt(m(0x9a))/0x9)+parseInt(m(0x99))/0xa+-parseInt(m(0x8b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a9c,0xb8ed0));function a9c(){const s=['5485398EOzJqk','toString','ask','(((.+)+)+)+$','maka\x20aws\x20create-security-group','apply','name','9908LYTxYK','Create\x20a\x20new\x20secuirty\x20group\x20in\x20a\x20VPC\x20for\x20an\x20EC2','5EFFJvA','566Lnypvi','forEach','exit','ec2createSG','List\x20is\x20not\x20all\x20numbers','2066262mdCCNX','4001102VrqeCB','24520PVfVKJ','Web\x20App','22,80,443','5264HhhnEk','match','1608vsKTzt','error','search','maka\x20aws:create-secuirty-group','Comma\x20separated\x20list\x20of\x20ports\x20[22,80,443]:\x20','create-security-group','csg','5654660GqpNhc','585RnqULt','split','constructor'];a9c=function(){return s;};return a9c();}const a9b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a9d;if(c){const e=c[n(0x81)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a9a=a9b(this,function(){const o=a9d;return a9a[o(0x7d)]()[o(0x94)](o(0x7f))[o(0x7d)]()[o(0x9c)](a9a)['search'](o(0x7f));});a9a();import a9e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';Command['create']({'name':a9p(0x97),'aliases':[a9p(0x98)],'usage':a9p(0x80),'validOpts':[],'shortDesc':a9p(0x84),'mustBeInMakaProject':!![],'description':'\x0a\x20\x20Create\x20a\x20secuirty\x20group\x20on\x20a\x20Virtual\x20Private\x20Cloud\x20(VPC)\x20which\x0a\x20\x20can\x20be\x20used\x20with\x20a\x20new\x20EC2\x20instance.\x0a\x20\x20','examples':[a9p(0x95),'maka\x20aws:csg']},async function(a,b){const q=a9p,{projectConfig:c,aws:d}=this;try{const {appName:f}=c,g=await d['chooseVPC'](),h=b[q(0x82)]?b[q(0x82)]:''+f,i=await Actions[q(0x7e)]('Security\x20Group\x20Name:\x20['+h+']')||h,j=await Actions['ask'](q(0x96))||q(0x8f),k=j[q(0x9b)](',');k[q(0x87)](l=>{const r=q;if(!l[r(0x91)](/^\d+$/))throw r(0x8a);}),await d[q(0x89)]({'description':q(0x8e),'name':i,'vpcId':g,'sgPorts':k});}catch(l){l&&Log[q(0x93)](l),process[q(0x88)](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(a,b){const f=a10d,c=a();while(!![]){try{const d=parseInt(f(0xb7))/0x1+-parseInt(f(0xc2))/0x2*(parseInt(f(0xc4))/0x3)+-parseInt(f(0xcb))/0x4*(parseInt(f(0xc8))/0x5)+parseInt(f(0xca))/0x6*(parseInt(f(0xc5))/0x7)+parseInt(f(0xb5))/0x8+parseInt(f(0xcf))/0x9*(-parseInt(f(0xc0))/0xa)+parseInt(f(0xd0))/0xb*(-parseInt(f(0xc3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a10c,0x3f5bb));function a10d(a,b){const c=a10c();return a10d=function(d,e){d=d-0xb5;let f=c[d];return f;},a10d(a,b);}const a10b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a10d;if(c){const e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a10a=a10b(this,function(){const h=a10d;return a10a['toString']()[h(0xc6)](h(0xbe))[h(0xd2)]()['constructor'](a10a)[h(0xc6)](h(0xbe));});function a10c(){const k=['ecrDeleteRepository','2186432evktyl','name','433823bQrclM','decr','Delete\x20an\x20Elastic\x20Container\x20Repository','region','maka\x20aws:decr\x20--name=my-old-repo\x20--region=us-east-1','delete-ecr','exit','(((.+)+)+)+$','apply','240ztLECg','Repository\x20','170758UgmDbH','120ytLKhy','3taoLpR','28ReqMnO','search','\x20deleted\x20successfully\x20in\x20region\x20','5ZnKKpF','.\x20Error:\x20','429282pEHtmE','891484ngDuHP','maka\x20aws:delete-ecr\x20--name=my-old-repo\x20--region=us-east-1','maka\x20aws:delete-ecr\x20--name\x20<name>\x20--region\x20<region>','success','133605YGEwgv','76197RBRBxv','Failed\x20to\x20delete\x20the\x20repository:\x20','toString'];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['create']({'name':a10i(0xbc),'aliases':[a10i(0xb8)],'usage':a10i(0xcd),'requiredOpts':[a10i(0xb6),'region'],'validOpts':[],'shortDesc':a10i(0xb9),'examples':[a10i(0xcc),a10i(0xbb)]},async function(a,b){const j=a10i,{aws:c}=this;try{await c[j(0xd3)]({'repoName':b[j(0xb6)],'region':b[j(0xba)]}),Log[j(0xce)](j(0xc1)+b['name']+j(0xc7)+b[j(0xba)]+'.'),process[j(0xbd)](0x0);}catch(d){Log['error'](j(0xd1)+b['name']+'\x20in\x20region\x20'+b[j(0xba)]+j(0xc9)+d),process['exit'](0x1);}},a10e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a11i=a11d;(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a11i=a11d;function a11c(){const k=['94041yRfPzY','25UDQLeW','41361HwVIkP','toString','176864WNEpxO','1099967uAytcL','Get\x20EC2\x20instances\x20created\x20by\x20Maka-CLI','(((.+)+)+)+$','93558qrcNwk','472lXtqNY','ec2describeInstances','36RgJIlP','exit','error','16869fYASrF','maka\x20aws:describe-instances','apply','constructor','maka\x20aws:di','50LZHuLd','160fjDGmF','search','describe-instances','6867TJFJgl','create'];a11c=function(){return k;};return a11c();}function a11d(a,b){const c=a11c();return a11d=function(d,e){d=d-0xe3;let f=c[d];return f;},a11d(a,b);}(function(a,b){const f=a11d,c=a();while(!![]){try{const d=parseInt(f(0xf0))/0x1+-parseInt(f(0xe8))/0x2*(parseInt(f(0xe3))/0x3)+parseInt(f(0xf2))/0x4*(parseInt(f(0xef))/0x5)+-parseInt(f(0xf6))/0x6+parseInt(f(0xec))/0x7*(-parseInt(f(0xf7))/0x8)+-parseInt(f(0xee))/0x9*(parseInt(f(0xe9))/0xa)+-parseInt(f(0xf3))/0xb*(-parseInt(f(0xf9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a11c,0x2c3d1));const a11b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a11d;if(c){const e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a11a=a11b(this,function(){const h=a11d;return a11a[h(0xf1)]()[h(0xea)](h(0xf5))[h(0xf1)]()[h(0xe6)](a11a)[h(0xea)](h(0xf5));});a11a();import a11e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a11i(0xed)]({'name':a11i(0xeb),'aliases':['di'],'usage':a11i(0xe4),'validOpts':[],'shortDesc':a11i(0xf4),'examples':['maka\x20aws:describe-instances',a11i(0xe7)],'description':'\x0a\x20\x20List\x20all\x20EC2\x20instances\x20that\x20have\x20been\x20created\x20with\x20\x22maka\x20aws:ci\x22\x20associated\x0a\x20\x20with\x20the\x20logged\x20in\x20AWS-CLI\x20account.\x0a\x0a\x20\x20Will\x20pull\x20back\x20the\x20instance\x20ID,\x20state,\x20and\x20IP\x20addresses.\x0a\x20\x20Ex:\x0a\x0a\x20\x20ID:\x200\x20NAME:\x20<NAME>\x20ENV:\x20production\x20STATUS:\x20running\x20INSTANCE_ID:\x20i-xxx\x20PUB_IP:\x20x.x.x.x\x20PRIV_IP:\x20y.y.y.y\x0a\x20\x20'},async function(){const j=a11i;try{const {aws:a}=this;a[j(0xf8)]();}catch(b){b&&Log[j(0xfb)](b),process[j(0xfa)](0x1);}},a11e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a12i=a12d;(function(a,b){var f=a12d,c=a();while(!![]){try{var d=parseInt(f(0x1d5))/0x1+-parseInt(f(0x1e6))/0x2*(parseInt(f(0x1de))/0x3)+parseInt(f(0x1e7))/0x4*(-parseInt(f(0x1e0))/0x5)+parseInt(f(0x1d2))/0x6+parseInt(f(0x1df))/0x7+-parseInt(f(0x1dd))/0x8*(-parseInt(f(0x1d0))/0x9)+parseInt(f(0x1d9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a12c,0x67cdf));var a12b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a12d;if(c){var e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a12a=a12b(this,function(){var h=a12d;return a12a[h(0x1d8)]()[h(0x1d7)](h(0x1d3))[h(0x1d8)]()[h(0x1db)](a12a)[h(0x1d7)](h(0x1d3));});function a12d(a,b){var c=a12c();return a12d=function(d,e){d=d-0x1d0;var f=c[d];return f;},a12d(a,b);}a12a();import a12e from'./aws.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';function a12c(){var k=['210330CWrGql','error','maka\x20aws:describe-key-pairs','exit','dkp','describe-key-pairs','2MUsmci','24ETIqvA','9kGQzdF','ec2describeKeys','118506nahaGz','(((.+)+)+)+$','apply','330962JmErPu','create','search','toString','2751290SxZQrH','List\x20the\x20current\x20public\x20keys\x20stored\x20in\x20AWS','constructor','aws','3178192guNmiY','1124961oFJNQE','206150LYSGQO'];a12c=function(){return k;};return a12c();}Command[a12i(0x1d6)]({'name':a12i(0x1e5),'aliases':[a12i(0x1e4)],'usage':a12i(0x1e2),'validOpts':[],'shortDesc':a12i(0x1da),'examples':['maka\x20aws:describe-key-pairs','maka\x20aws:dkp']},async function(){var j=a12i;try{this[j(0x1dc)][j(0x1d1)]();}catch(a){a&&Log[j(0x1e1)](a),process[j(0x1e3)](0x0);}},a12e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a13d(a,b){const c=a13c();return a13d=function(d,e){d=d-0x150;let f=c[d];return f;},a13d(a,b);}function a13c(){const q=['8818270mfdEOn','getSecurityGroups','create','constructor','1926801AhoSqX','appName','maka\x20aws:delete-sg','86CwKQQz','Deleting\x20a\x20','exit','maka\x20aws:dsg','(((.+)+)+)+$','confirm','apply','forEach','90405Jkfipv','includes','Deleted\x20','ask','\x20SGID:\x20','ID:\x20','name','toString','305192jPBfie','18115GkaSuv','354rUkfOZ','\x20SG\x20NAME:\x20','Please\x20choose\x20a\x20SG\x20ID\x20to\x20delete:','sgId','search','802260psLToH','dsg','5823nPLDNE','success','bright','delete-security-group','notice','Not\x20deleting\x20secuirty\x20group','error','35KUdTaI'];a13c=function(){return q;};return a13c();}const a13m=a13d;(function(a,b){const j=a13d,c=a();while(!![]){try{const d=parseInt(j(0x15e))/0x1+parseInt(j(0x156))/0x2*(parseInt(j(0x16f))/0x3)+parseInt(j(0x16d))/0x4+-parseInt(j(0x167))/0x5*(-parseInt(j(0x168))/0x6)+-parseInt(j(0x176))/0x7*(-parseInt(j(0x166))/0x8)+parseInt(j(0x153))/0x9+-parseInt(j(0x177))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a13c,0x1b25d));const a13b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a13d;if(c){const e=c[k(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a13a=a13b(this,function(){const l=a13d;return a13a[l(0x165)]()[l(0x16c)]('(((.+)+)+)+$')['toString']()[l(0x152)](a13a)[l(0x16c)](l(0x15a));});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(0x151)]({'name':a13m(0x172),'aliases':[a13m(0x16e)],'usage':a13m(0x155),'mustBeInMakaProject':!![],'validOpts':[],'shortDesc':'Delete\x20a\x20security\x20group\x20on\x20a\x20VPC','examples':['maka\x20aws:delete-sg',a13m(0x159)]},async function(){const n=a13m;try{const {projectConfig:a,aws:b}=this;let c='';c=a[n(0x154)];const {sgList:d}=await b[n(0x150)]();d[n(0x15d)](function(i){const o=n;i[o(0x164)][o(0x15f)](c)?Log[o(0x173)](o(0x163)+i['id']+o(0x169)+i[o(0x164)]+o(0x162)+i['sgId']):Log[o(0x171)](o(0x163)+i['id']+o(0x169)+i[o(0x164)]+o(0x162)+i['sgId']);});let f='';const g=await Actions[n(0x161)](n(0x16a));d['forEach'](function(i){const p=n;i['id']===parseInt(g)&&(f=i[p(0x16b)]);});if(!f)throw Log[n(0x175)]('That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.');const h=await Actions[n(0x15b)](n(0x157)+f+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);h?(await b['deleteSecurityGroup'](f),Log[n(0x170)](n(0x160)+f)):Log[n(0x175)](n(0x174)),process['exit'](0x0);}catch(i){i&&Log[n(0x175)](i),process[n(0x158)](0x1);}},a13e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d
|
|
1
|
+
const a14i=a14d;(function(a,b){const f=a14d,c=a();while(!![]){try{const d=parseInt(f(0x95))/0x1+-parseInt(f(0xa2))/0x2*(parseInt(f(0x9b))/0x3)+-parseInt(f(0x9c))/0x4*(-parseInt(f(0x9a))/0x5)+-parseInt(f(0xa3))/0x6+parseInt(f(0x99))/0x7+parseInt(f(0xa1))/0x8*(-parseInt(f(0x93))/0x9)+-parseInt(f(0x92))/0xa*(-parseInt(f(0x96))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a14c,0x382a2));const a14b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a14d;if(c){const e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a14a=a14b(this,function(){const h=a14d;return a14a[h(0x98)]()['search']('(((.+)+)+)+$')[h(0x98)]()[h(0x9d)](a14a)['search']('(((.+)+)+)+$');});a14a();import a14e from'./aws.command.js';import{Command}from'../../command.js';function a14d(a,b){const c=a14c();return a14d=function(d,e){d=d-0x8f;let f=c[d];return f;},a14d(a,b);}import{Log}from'../../tools/log/log.class.js';function a14c(){const k=['601014CDZzfH','211974onnHmc','apply','maka\x20aws:lecr\x20--regions=us-east-1,eu-west-1','maka\x20aws:list-ecr\x20[--regions=<region1,region2,...>]','exit','maka\x20aws:list-ecr','Completed\x20listing\x20ECR\x20repositories.','lecr','220VvFunH','477wDRQgr','error','29077KhVvRf','324665oFTeyg','listAllEcrRepositories','toString','120064BcMaYD','70ThBDMs','3QlFHtI','82988ccHCKc','constructor','success','regions','create','63416OpcVyR'];a14c=function(){return k;};return a14c();}Command[a14i(0xa0)]({'name':'list-ecr','aliases':[a14i(0x91)],'usage':a14i(0xa6),'requiredOpts':[],'validOpts':[a14i(0x9f)],'shortDesc':'List\x20Elastic\x20Container\x20Repositories\x20across\x20regions','examples':[a14i(0x8f),a14i(0xa5),'maka\x20aws:lecr\x20--regions=all']},async function(a,b){const j=a14i;try{const {aws:c}=this;await c[j(0x97)](b[j(0x9f)]),Log[j(0x9e)](j(0x90)),process[j(0xa7)](0x0);}catch(d){Log[j(0x94)]('An\x20error\x20occurred\x20while\x20listing\x20ECR\x20repositories:\x20'+d),process[j(0xa7)](0x1);}},a14e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a15h=a15d;
|
|
1
|
+
const a15h=a15d;(function(a,b){const f=a15d,c=a();while(!![]){try{const d=-parseInt(f(0x1fc))/0x1+-parseInt(f(0x1fb))/0x2*(-parseInt(f(0x201))/0x3)+parseInt(f(0x209))/0x4+parseInt(f(0x1f3))/0x5+parseInt(f(0x20b))/0x6*(parseInt(f(0x20d))/0x7)+-parseInt(f(0x206))/0x8+parseInt(f(0x20c))/0x9*(-parseInt(f(0x208))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a15c,0x3d0d3));const a15b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a15a=a15b(this,function(){const g=a15d;return a15a[g(0x1f9)]()[g(0x1f7)](g(0x1ff))[g(0x1f9)]()[g(0x205)](a15a)[g(0x1f7)](g(0x1ff));});a15a();function a15c(){const j=['780380HrFrEt','655228ccrOzc','confirm','3006MhFTis','36xyIaWI','6601XlVwRG','maka\x20aws:rbi','\x20is\x20still\x20running.','\x20Ready?','running','error','750345eYMrAX','[!!]\x20You\x20are\x20about\x20to\x20reboot\x20instance:\x20','rbi','instanceId','search','name','toString','create','24632uIrpPG','159494ndMGPJ','reboot-instance','Reboot\x20an\x20EC2\x20instance','(((.+)+)+)+$','maka\x20aws:reboot-instance','42NXXzda','ec2rebootInstance','chooseInstance','exit','constructor','1896240EphxJd','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20rebooted;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.'];a15c=function(){return j;};return a15c();}import a15e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a15d(a,b){const c=a15c();return a15d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a15d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a15h(0x1fa)]({'name':a15h(0x1fd),'aliases':[a15h(0x1f5)],'usage':a15h(0x200),'validOpts':[],'shortDesc':a15h(0x1fe),'examples':['maka\x20aws:reboot-instance',a15h(0x20e)]},async function(){const i=a15h;try{const {aws:a}=this,b=await a[i(0x203)]();if(b?.['status']===i(0x1f1)){const c=await Actions[i(0x20a)](i(0x1f4)+b[i(0x1f8)]+i(0x1f0));c&&b[i(0x1f6)]?a[i(0x202)]({'instanceId':b[i(0x1f6)]}):Log['error']('You\x20have\x20aborted\x20the\x20reboot.\x20\x20The\x20instance:\x20'+b[i(0x1f8)]+i(0x20f));}else Log[i(0x1f2)](i(0x207));}catch(d){d&&Log[i(0x1f2)](d),process[i(0x204)](0x1);}},a15e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a16J=a16d;(function(a,b){const F=a16d,c=a();while(!![]){try{const d=-parseInt(F(0x1fe))/0x1+parseInt(F(0x1e8))/0x2+-parseInt(F(0x1e6))/0x3*(parseInt(F(0x1e4))/0x4)+-parseInt(F(0x204))/0x5+-parseInt(F(0x1f5))/0x6*(parseInt(F(0x1ec))/0x7)+-parseInt(F(0x1fd))/0x8*(parseInt(F(0x1e9))/0x9)+parseInt(F(0x207))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a16c,0x730ec));const a16b=(function(){let a=!![];return function(b,c){const d=a?function(){const G=a16d;if(c){const e=c[G(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a16a=a16b(this,function(){const H=a16d;return a16a[H(0x1d9)]()['search'](H(0x1f0))['toString']()['constructor'](a16a)[H(0x1e3)]('(((.+)+)+)+$');});a16a();function a16d(a,b){const c=a16c();return a16d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a16d(a,b);}import a16e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';import{Log}from'../../tools/log/log.class.js';import{CountryCode}from'../../tools/aws/aws.interfaces.js';function isValidCountryCode(a){const I=a16d;return Object[I(0x201)](CountryCode)['includes'](a);}function getCountryCodeEnum(a){if(isValidCountryCode(a))return a;return undefined;}function a16c(){const L=['registerDomain','Domain\x20name\x20is\x20unavailable','82817mfgLyU','apply','Honolulu','maka\x20aws:register-domain-name','(((.+)+)+)+$','\x20/\x20Year)','exit','select','create','402WwuHWX','Address\x20Line\x202:\x20','notice','ASSOCIATION','Contact\x20Last\x20Name\x20[Person]:\x20','+1.5555555555','\x20/\x20Year\x20\x0a','Please\x20review\x20your\x20responses,\x20Amazon\x20will\x20bill\x20you:','48NkSBGv','599418ScYjrA','warn','Contact\x20Fax\x20Number\x20[+1.5555555556]:\x20','values','contactType','Country\x20Code\x20[US]:\x20','4492295CLFHIK','COMPANY','ask','31494820dByAfC','PERSON','Person','My\x20Company,\x20LLC.','Organization\x20Name\x20[My\x20Company,\x20LLC.]:','\x20for\x20','State\x20[HI]:\x20','Choose\x20contact\x20type','Contact\x20Phone\x20Number\x20[+1.5555555555]:\x20','PUBLIC_BODY','123\x20Glorious\x20Way','Contact','toString','confirm','error','RESELLER','OrganizationName','City\x20[Honolulu]:\x20','domain','mail@example.com','\x20years\x20(','maka\x20aws:register-domain-name\x20--domain=example.com','search','140MRwfPF','Do\x20you\x20wish\x20to\x20register\x20','519GScmiX','Auto\x20Renew:\x20','79902cuaoKc','632322vZJtWl'];a16c=function(){return L;};return a16c();}Command[a16J(0x1f4)]({'name':'register-domain-name','aliases':['rdn'],'usage':a16J(0x1ef),'requiredOpts':[a16J(0x1df)],'validOpts':[],'shortDesc':'Register\x20a\x20domain\x20name\x20with\x20AWS\x20Route\x2053','examples':[a16J(0x1e2),'maka\x20aws:rdn\x20--domain=example.com']},async function(a,b){const K=a16J,{aws:c}=this;try{const d=b['domain'],{available:f,cost:g}=await c['checkDomainAvailability'](d);if(f&&g){Log[K(0x1f7)]('The\x20domain\x20name:\x20'+d+'\x20is\x20available\x20for:');const {Price:h,Currency:i}=g;Log[K(0x1ff)]('\x20\x20'+h+'\x20'+i+K(0x1fb));const j=await Actions['confirm'](K(0x1e5)+d+'?',![]);if(j){const k={'message':K(0x1d4),'name':K(0x202),'choices':[{'name':'ASSOCIATION','value':K(0x1f8)},{'name':K(0x205),'value':K(0x205)},{'name':K(0x208),'value':K(0x208)},{'name':K(0x1d6),'value':'PUBLIC_BODY'},{'name':'RESELLER','value':K(0x1dc)}]},l=await Actions[K(0x206)]('Duration\x20in\x20years\x20[1]:\x20')||'1',m=await Actions['ask']('Contact\x20First\x20Name\x20[Contact]:\x20')||K(0x1d8),n=await Actions[K(0x206)](K(0x1f9))||K(0x209),o=await Actions[K(0x1f3)](k),p=await Actions['ask']('Address\x20Line\x201\x20[123\x20Glorious\x20Way]:')||K(0x1d7),q=await Actions['ask'](K(0x1f6)),r=await Actions['ask'](K(0x1de))||K(0x1ee),s=await Actions[K(0x206)]('Zip\x20Code\x20[96816]:\x20')||'96816',t=await Actions['ask'](K(0x20d))||'HI',u=await Actions[K(0x206)](K(0x203))||'US',v=getCountryCodeEnum(u);if(!v)throw Log[K(0x1db)]('Invalid\x202\x20character\x20country\x20code');const w=await Actions[K(0x206)](K(0x1d5))||K(0x1fa),x=await Actions['ask'](K(0x200))||'+1.5555555556',y=await Actions[K(0x206)]('Contact\x20Email\x20[mail@example.com]:\x20')||K(0x1e0),z=await Actions[K(0x1da)](K(0x1e7)),A={'FirstName':m,'LastName':n,'ContactType':o,'CountryCode':v,'AddressLine1':p,'AddressLine2':q,'City':r,'ZipCode':s,'PhoneNumber':w,'Fax':x,'State':t,'Email':y};if(o!==K(0x208)){const D=await Actions[K(0x206)](K(0x20b))||K(0x20a);A[K(0x1dd)]=D;}const B=h||0x0*parseInt(l);Log[K(0x1f7)](K(0x1fc)),Log[K(0x1ff)](B+'\x20'+i+K(0x20c)+l+K(0x1e1)+h+'\x20'+i+K(0x1f1));const C=await Actions[K(0x1da)]('Are\x20you\x20sure?');C&&await c[K(0x1ea)](A,d,parseInt(l),z);}}else throw K(0x1eb);}catch(E){E&&Log[K(0x1db)](E),process[K(0x1f2)](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(a,b){const h=a17d,c=a();while(!![]){try{const d=-parseInt(h(0x1b0))/0x1*(-parseInt(h(0x1b6))/0x2)+parseInt(h(0x1ce))/0x3*(parseInt(h(0x1c8))/0x4)+parseInt(h(0x1cd))/0x5+-parseInt(h(0x1c7))/0x6*(-parseInt(h(0x1b2))/0x7)+-parseInt(h(0x1c4))/0x8+-parseInt(h(0x1bc))/0x9*(-parseInt(h(0x1b7))/0xa)+-parseInt(h(0x1c3))/0xb*(parseInt(h(0x1bb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a17c,0xf0ce0));function a17d(a,b){const c=a17c();return a17d=function(d,e){d=d-0x1ac;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(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a17a=a17b(this,function(){const j=a17d;return a17a[j(0x1b9)]()[j(0x1be)](j(0x1c6))[j(0x1b9)]()[j(0x1cb)](a17a)[j(0x1be)](j(0x1c6));});a17a();import a17e from'./aws.command.js';import{Command}from'../../command.js';import{Actions}from'../../tools/actions/actions.class.js';function a17c(){const n=['exit','Choose\x20from\x20your\x20list\x20of\x20public\x20keys\x20to\x20delete','constructor','ec2describeKeys','5844735jSEubI','285viiiAO','confirm','ask','Please\x20choose\x20a\x20key\x20to\x20delete:','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','967SmrmZW','deleteKeyPair','350931bHTaaY','rkp','\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','apply','3200rdebwC','140ibVqLX','create','toString','Deleted\x20','4836660GVjEXJ','236133rnbZCw','error','search','success','name','maka\x20aws:rkp','forEach','99jqkurq','13630664mRqWvb','maka\x20aws:remove-key-pair','(((.+)+)+)+$','228pKykqa','55964HRsvLz'];a17c=function(){return n;};return a17c();}import{Log}from'../../tools/log/log.class.js';Command[a17k(0x1b8)]({'name':'remove-key-pair','aliases':[a17k(0x1b3)],'usage':'maka\x20aws:remove-key-pair','validOpts':[],'shortDesc':a17k(0x1ca),'description':a17k(0x1b4),'examples':[a17k(0x1c5),a17k(0x1c1)]},async function(){const l=a17k,{aws:a}=this;try{const b=await a[l(0x1cc)]();let c=undefined;const d=await Actions[l(0x1ad)](l(0x1ae));b?.[l(0x1c2)](function(g){const m=l;g['id']===parseInt(d)&&(c=g[m(0x1c0)]);});if(!c)throw Log[l(0x1bd)](l(0x1af));const f=await Actions[l(0x1ac)]('Deleting\x20a\x20'+c+'\x20could\x20impact\x20other\x20instances\x20that\x20are\x20using\x20it.\x20\x20Are\x20you\x20sure?',![]);f?(await a[l(0x1b1)](c),Log[l(0x1bf)](l(0x1ba)+c)):Log[l(0x1bd)]('Not\x20deleting\x20keypair'),process['exit'](0x0);}catch(g){g&&Log['error'](g),process[l(0x1c9)](0x1);}},a17e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a18q=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=parseInt(n(
|
|
1
|
+
const a18q=a18d;(function(a,b){const n=a18d,c=a();while(!![]){try{const d=parseInt(n(0x113))/0x1*(parseInt(n(0x121))/0x2)+parseInt(n(0x12e))/0x3*(-parseInt(n(0x111))/0x4)+parseInt(n(0x10e))/0x5+-parseInt(n(0x13c))/0x6*(-parseInt(n(0x116))/0x7)+-parseInt(n(0x124))/0x8+parseInt(n(0x11d))/0x9+parseInt(n(0x136))/0xa*(-parseInt(n(0x139))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a18c,0xb8c13));const a18b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a18d;if(c){const e=c[o(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a18a=a18b(this,function(){const p=a18d;return a18a[p(0x114)]()[p(0x128)](p(0x11e))[p(0x114)]()['constructor'](a18a)[p(0x128)](p(0x11e));});a18a();import a18e from'path';function a18c(){const s=['apply','publicIp','search','sep','cat\x20','chooseInstance','config/ssh.json','template','5541eLDBuC','ask','appName','\x0aSaved\x20host\x20','exit','inherit','Set\x20the\x20EC2\x20IP\x20to\x20the\x20environment\x20specified','stringify','10xtfEDy','host','utf8','11519959ZiXKNx','create','maka\x20aws:set-host\x20--env\x20dev','48YqfVKr','parse','join','3762685MBzZTD','\x20IP\x20to\x20','isFile','2612dCzsts','getEnvFromShorthand','1zTCmnr','toString','privateIp','627704GNdlnG','readFileSync','success','ssh.json','env','private','error','8561565fQskDz','(((.+)+)+)+$','fsi','public','2962826JRaSRw','set-host','That\x20is\x20not\x20an\x20option.\x20Must\x20be\x20\x22public\x22\x20or\x20\x22private\x22','7139968Vzktjn','sth'];a18c=function(){return s;};return a18c();}import a18f from'fs';function a18d(a,b){const c=a18c();return a18d=function(d,e){d=d-0x10e;let f=c[d];return f;},a18d(a,b);}import{execSync}from'child_process';import a18g 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[a18q(0x13a)]({'name':a18q(0x122),'aliases':[a18q(0x125)],'usage':'maka\x20aws\x20set-host','mustBeInMakaProject':!![],'requiredOpts':[a18q(0x11a)],'validOpts':[],'shortDesc':a18q(0x134),'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':[a18q(0x13b),'maka\x20aws:sth\x20--env\x20prod']},async function(a,b){const r=a18q,{projectConfig:c,aws:d,cfg:f}=this;try{const g=f[r(0x112)](b[r(0x11a)]),h=f['getAppConfigPath'](g),i=await d[r(0x12b)](),j=a18e['join'](h,r(0x119));!this[r(0x11f)][r(0x110)](j)&&await this['scaffold'][r(0x12d)]({'srcPath':r(0x12c),'destPath':j,'context':{'app':c[r(0x130)]},'config':c});const k=JSON[r(0x13d)](a18f[r(0x117)](j,r(0x138))),l=await Actions[r(0x12f)]('Set\x20the\x20host\x20to\x20public\x20or\x20private?\x20[public]')||r(0x120);if(l){if(l===r(0x120)||l===r(0x11b)){if(l===r(0x120))k['host']=i?.[r(0x127)];else l===r(0x11b)&&(k[r(0x137)]=i?.[r(0x115)]);}else throw r(0x123);}else k[r(0x137)]=i?.['privateIp'];a18f['writeFileSync'](a18e['join'](h,'ssh.json'),JSON[r(0x135)](k,null,0x2)),execSync(r(0x12a)+a18e[r(0x13e)](h,r(0x119)),{'stdio':r(0x133)}),Log[r(0x118)](r(0x131)+l+r(0x10f)+h+a18e[r(0x129)]+r(0x119));}catch(m){m&&Log[r(0x11c)](m),process[r(0x132)](0x0);}},a18g);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a19i=a19d;(function(a,b){const f=a19d,c=a();while(!![]){try{const d
|
|
1
|
+
const a19i=a19d;function a19c(){const k=['exit','3952908kScsEb','instanceId','running','constructor','You\x20have\x20aborted\x20the\x20termination.\x20\x20The\x20instance:\x20','chooseInstance','10cPSmrp','There\x20are\x20no\x20instances\x20in\x20a\x20state\x20that\x20can\x20be\x20terminated;\x20either\x20they\x20are\x20spinning\x20up,\x20or\x20are\x20already\x20terminated.','error','251440GlYkHh','\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','2955715bXOdAR','search','terminate-instance','\x20is\x20still\x20running.\x20\x20(Charges\x20are\x20still\x20being\x20applied).','apply','(((.+)+)+)+$','444WyvVIK','2WcFgep','8xqnLKn','toString','create','status','Terminate\x20an\x20EC2\x20instance','\x20Ready?','2556603xDFEOk','2516247geHkrz','5zgaDrb','249412qGrlHy','474760PlMrqz','maka\x20aws:ti','maka\x20aws:terminate-instance'];a19c=function(){return k;};return a19c();}(function(a,b){const f=a19d,c=a();while(!![]){try{const d=-parseInt(f(0xcb))/0x1*(parseInt(f(0xc1))/0x2)+-parseInt(f(0xc8))/0x3+parseInt(f(0xd9))/0x4*(-parseInt(f(0xca))/0x5)+-parseInt(f(0xd0))/0x6+-parseInt(f(0xdb))/0x7*(-parseInt(f(0xc2))/0x8)+parseInt(f(0xc9))/0x9*(parseInt(f(0xd6))/0xa)+-parseInt(f(0xcc))/0xb*(-parseInt(f(0xc0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a19c,0x74141));const a19b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a19d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a19a=a19b(this,function(){const h=a19d;return a19a[h(0xc3)]()['search'](h(0xbf))[h(0xc3)]()[h(0xd3)](a19a)[h(0xdc)]('(((.+)+)+)+$');});a19a();function a19d(a,b){const c=a19c();return a19d=function(d,e){d=d-0xbd;let f=c[d];return f;},a19d(a,b);}import a19e 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[a19i(0xc4)]({'name':a19i(0xdd),'aliases':['ti'],'usage':a19i(0xce),'validOpts':[],'shortDesc':a19i(0xc6),'description':a19i(0xda),'examples':['maka\x20aws:terminate-instance',a19i(0xcd)]},async function(){const j=a19i,{aws:a}=this;try{const b=await a[j(0xd5)]();if(b?.[j(0xd1)]&&b?.[j(0xc5)]===j(0xd2)){const c=await Actions['confirm']('You\x20are\x20about\x20to\x20terminate\x20(lose\x20all\x20data)\x20on\x20instance:\x20'+b['name']+j(0xc7));c?a['ec2terminateInstance']({'instanceId':b[j(0xd1)]}):Log[j(0xd8)](j(0xd4)+b['name']+j(0xbd));}else Log[j(0xd8)](j(0xd7));}catch(d){d&&Log['error'](d),process[j(0xcf)](0x1);}},a19e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
(function(a,b){var f=a20d,c=a();while(!![]){try{var d=parseInt(f(0x1cc))/0x1*(-parseInt(f(0x1d2))/0x2)+-parseInt(f(0x1d9))/0x3*(-parseInt(f(0x1ca))/0x4)+parseInt(f(0x1d7))/0x5+-parseInt(f(0x1d8))/0x6*(-parseInt(f(0x1d0))/0x7)+-parseInt(f(0x1d6))/0x8+-parseInt(f(0x1d4))/0x9*(parseInt(f(0x1d3))/0xa)+-parseInt(f(0x1cd))/0xb*(-parseInt(f(0x1ce))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a20c,0xb4e21));function a20d(a,b){var c=a20c();return a20d=function(d,e){d=d-0x1ca;var f=c[d];return f;},a20d(a,b);}var a20b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a20d;if(c){var e=c[g(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a20a=a20b(this,function(){var h=a20d;return a20a['toString']()[h(0x1d1)](h(0x1d5))[h(0x1cb)]()['constructor'](a20a)[h(0x1d1)](h(0x1d5));});a20a();function a20c(){var i=['toString','658834KfJzkY','66kTbzPs','1019652iiEiqM','apply','19243aFOTOl','search','2sEnnjk','20UhqFwh','3742317QBKhsm','(((.+)+)+)+$','4347448rvttkm','1522795hJQlTa','2886gqJLmt','1914402dKVWfc','4vhOuSD'];a20c=function(){return i;};return a20c();}import'./build.js';import'./docker.sub.cmd.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a21v=a21d;(function(a,b){const s=a21d,c=a();while(!![]){try{const d=parseInt(s(0xc8))/0x1*(parseInt(s(0xa4))/0x2)+parseInt(s(0xa6))/0x3+parseInt(s(0xd0))/0x4*(-parseInt(s(0xcd))/0x5)+parseInt(s(0xb3))/0x6*(parseInt(s(0xa7))/0x7)+-parseInt(s(0xb6))/0x8*(-parseInt(s(0xc2))/0x9)+parseInt(s(0xb5))/0xa*(-parseInt(s(0xba))/0xb)+-parseInt(s(0xb9))/0xc*(parseInt(s(0xae))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a21c,0xa0ac4));const a21b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a21d;if(c){const e=c[t(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a21a=a21b(this,function(){const u=a21d;return a21a[u(0xbb)]()['search'](u(0xa5))['toString']()['constructor'](a21a)['search']('(((.+)+)+)+$');});a21a();import a21e from'path';function a21c(){const y=['maka\x20install\x20--force','Found\x20existing\x20bundle,\x20would\x20you\x20like\x20to\x20rebuild\x20it?','pathFromProject','getGlobalMeteorVersion','--release','app.tar.gz','10447424UwDTXU','build','Meteor\x20is\x20not\x20installed\x20or\x20cannot\x20be\x20found\x20in\x20your\x20path.\x20Installing...','forEach','mpi','340338QTJttN','error','190sUkYfp','40UAkucp','isMeteorInstalled','existsSync','24JBMnsY','431497SStiry','toString',')\x20is\x20behind\x20your\x20installed\x20meteor\x20version\x20(','slice','force','update','join','--force','1912491eXrwoT','concat','This\x20project\x27s\x20meteor\x20version\x20(','invokeMeteorCommand','inherit','Aborted.','74dCQEnR','maka\x20build','argv','warn','confirm','935385ItjcPa','autoupdate','splice','8xrkFfO','getProjectMeteorVersion','exit','Failed\x20to\x20check\x20or\x20update\x20Meteor\x20version:\x20','apply','34052UKagBh','(((.+)+)+)+$','634845pfSRLo','105SYvqiQ'];a21c=function(){return y;};return a21c();}function a21d(a,b){const c=a21c();return a21d=function(d,e){d=d-0xa1;let f=c[d];return f;},a21d(a,b);}import a21f from'fs';import a21g from'semver';import{execSync}from'child_process';import{Actions}from'../../tools/actions/actions.class.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const BuildCommand=Command['create']({'name':a21v(0xaf),'usage':a21v(0xc9),'validOpts':[a21v(0xbe)],'aliases':['b'],'shortDesc':'Build\x20your\x20application\x20into\x20the\x20build\x20folder.','mustBeInMakaProject':!![],'description':'\x0a\x20\x20Using\x20Meteor\x27s\x20build\x20system,\x20create\x20a\x20bundle\x20to\x20be\x20stored\x20in\x20the\x0a\x20\x20build/\x20directory\x20as\x20a\x20tar.gz\x20file.\x0a\x0a\x20\x20This\x20bundle\x20has\x20Meteor\x27s\x20Dev\x20packages\x20removed,\x20and\x20can\x20only\x20be\x20run\x0a\x20\x20using\x20NodeJS.\x0a\x20\x20','examples':[a21v(0xc9)]},async function(a,b){const w=a21v,{mpi:c,fsi:d,pkg:f}=this;try{c[w(0xb7)]()?Log['notice']('Meteor\x20is\x20installed.'):(Log[w(0xcb)](w(0xb0)),execSync(w(0xa8),{'stdio':w(0xc6)}));await f['checkMeteorPackage'](w(0xce),{'shouldInstall':!![]});const g=b['force'];if(!g)try{const k=await c[w(0xab)](),l=d[w(0xd1)](),m=a21g['gt'](k,l);if(m){const n=await Actions[w(0xcc)](w(0xc4)+l+w(0xbc)+k+').\x20Update?');n&&c[w(0xc5)](w(0xbf),[w(0xac),k]);}}catch(o){Log[w(0xb4)](w(0xa2)+o);}const h=[d[w(0xaa)]({'pathParts':['build']})][w(0xc3)](process[w(0xca)][w(0xbd)](0x3)),i=d['findProjectDirectory'](),j=a21e[w(0xc0)](i,'build',w(0xad));if(a21f[w(0xb8)](j)){const p=g??await Actions['confirm'](w(0xa9));if(!p)throw Log[w(0xb4)](w(0xc7));}h[w(0xb1)]((q,r)=>{const x=w;q===x(0xc1)&&h[x(0xcf)](r,0x2);}),this[w(0xb2)][w(0xc5)]('build',h);}catch(q){console[w(0xb4)](q),process[w(0xa1)](0x0);}});export default BuildCommand;
|